Microsoft 365 の PowerShell で Sway へのアクセスを無効にするDisable access to Sway with PowerShell for Microsoft 365
この記事は、Microsoft 365 Enterprise および Office 365 Enterprise の両方に適用されます。This article applies to both Microsoft 365 Enterprise and Office 365 Enterprise.
ManageSway.ps1 PowerShell スクリプトを使用すると、Sway を含む Microsoft 365 組織のサービスを表示したり、無効にしたりできます。The ManageSway.ps1 PowerShell script lets you view and disable services in your Microsoft 365 organization, including Sway. このスクリプトは、以下のトピックで説明する手順を自動化します。This script automates the procedures that are described in the following topics:
PowerShell を使用してライセンスとサービスを表示するView licenses and services with PowerShell
PowerShell を使用してサービスへのアクセスを無効にするDisable access to services with PowerShell
スクリプトに関連付けられている 2 つのファイルをダウンロードする必要があります。You need to download the two files that are associated with the script:
ManageSway.ps1 スクリプト: https://go.microsoft.com/fwlink/p/?LinkId=785070The ManageSway.ps1 script at https://go.microsoft.com/fwlink/p/?LinkId=785070
スクリプト用のヘルプ ファイル: https://go.microsoft.com/fwlink/p/?LinkId=785072The help file for the script at https://go.microsoft.com/fwlink/p/?LinkId=785072