PowerShell を使用したAzure Rights Management サービスの管理

PowerShell は、Azure Rights Management 暗号化サービスを手動でアクティブ化するために必要です。また、いくつかの高度な構成には PowerShell も必要です。 一部の構成は Microsoft Purview ポータルから行うことができますが、より効率的なコマンド ライン制御とスクリプト作成のために PowerShell を使用することをお望みになる場合があります。

次のセクションの表には、PowerShell を使用する高度な構成シナリオがいくつか含まれています。 PowerShell を使用せずに構成を完了できる場合は、この情報もテーブルに含まれます。

このモジュールで使用できるコマンドレットの完全な一覧については、それぞれについて詳しくは、「 AIPService」をご覧ください。

この PowerShell モジュールをインストールするには、「Azure Right Management サービスの AIPService PowerShell モジュールをインストールする」を参照してください。

ヒント

このサービス側の PowerShell モジュールに加えて、Microsoft Purview Information Protection クライアントは補足の PowerShell モジュール PurviewInformationProtection をインストールします。

このクライアント モジュールでは、複数のファイルのラベル付けと暗号化がサポートされているため、たとえば、フォルダー内のすべてのファイルを一括で保護できます。 詳細については、「 PowerShell を使用して情報保護クライアントを設定する」を参照してください。

管理タスク別にグループ化されたコマンドレット

目的 …次のコマンドレットを使用する
オンプレミスの Rights Management (AD RMS または Windows RMS) から Microsoft Purview Information Protection から Azure Rights Management サービスに移行します。 Import-AipServiceTpd

Set-AipServiceKeyProperties
organizationの Rights Management サービスに接続するか切断します。 Connect-AipService

Disconnect-AipServiceService
Azure Rights Management サービスの独自のルート キーを生成して管理します。これは、Bring Your Own Key (BYOK) シナリオです。 Set-AipServiceKeyProperties

Use-AipServiceKeyVaultKey

Get-AipServiceKeys
organizationのAzure Rights Management サービスをアクティブ化または非アクティブ化します。 Enable-AipService

Disable-AipService
Azure Rights Management サービスの段階的なデプロイのオンボード コントロールを構成します。 Get-AipServiceOnboardingControlPolicy

Set-AipServiceOnboardingControlPolicy
organizationの Rights Management テンプレートを作成および管理します。 Add-AipServiceTemplate

Export-AipServiceTemplate

Get-AipServiceTemplate

Get-AipServiceTemplateProperty

Import-AipServiceTemplate

New-AipServiceRightsDefinition

Remove-AipServiceTemplate

Set-AipServiceTemplateProperty
インターネットに接続せずにorganizationが暗号化するコンテンツにアクセスできる最大日数 (使用ライセンス有効期間) を構成します。 Get-AipServiceMaxUseLicenseValidityTime

Set-AipServiceMaxUseLicenseValidityTime
organizationのAzure Rights Management サービスのスーパー ユーザー機能を管理します。 Enable-AipServiceSuperUserFeature

Disable-AipServiceSuperUserFeature

Add-AipServiceSuperUser

Get-AipServiceSuperUser

Remove-AipServiceSuperUser

Set-AAipServiceSuperUserGroup

Get-AipServiceSuperUserGroup

Clear-AipServiceSuperUserGroup
organizationのAzure Rights Management サービスを管理する権限を持つユーザーとグループを管理します。 Add-Aip-ServiceRoleBasedAdministrator

Get-Aip-ServiceRoleBasedAdministrator

Remove-Aip-ServiceRoleBasedAdministrator
organizationのAzure Rights Management サービス管理タスクのログを取得します。 Get-AipServiceAdminLog
Azure Rights Management サービスの使用状況ログをログに記録して分析します。 Get-AipServiceUserLog
organizationのAzure Rights Management サービスの現在の構成を表示します。 Get-AipServiceConfiguration
organizationを Azure Rights Management サービスからオンプレミスの AD RMS デプロイに移行します。 Set-AipServiceMigrationUrl

Get-AipServiceMigrationUrl
権限で保護されたドキュメントのレガシ ドキュメント追跡サイトを管理する Disable-AipServiceDocumentTrackingFeature

Enable-AipServiceDocumentTrackingFeature

Get-AipServiceDocumentTrackingFeature

Set-AipServiceDoNotTrackUserGroup

Clear-AipServiceDoNotTrackUserGroup

Get-AipServiceDoNotTrackUserGroup

Get-AipServiceTrackingLog

Get-AipServiceDocumentLog