注: PowerShell 統合には、ShareGate Migrate のProまたはEnterpriseサブスクリプションが必要です。Essentialsプランでは利用できません。
コマンド
Remove-SensitivityLabelMapping
説明
このコマンドは、Sensitivity Label のマッピングを削除します。
例
マッピングを削除する
$mappingSettings = Set-SensitivityLabelMapping -Source "ParentSL \ ChildLabel1" -Destination "ParentDestSL \ ChildDestLabel1"
$mappingSettings = Set-SensitivityLabelMapping -MappingSettings $mappingSettings -Source "ParentSL \ ChildLabel2" -Destination "ParentDestSL \ ChildDestLabel2"
$mappingSettings = Remove-SensitivityLabelMapping -MappingSettings $mappingSettings -Source "ParentSL \ ChildLabel1"
$mappingSettings
# Example output:
# PropertyMappings :
# ContentTypeMappings :
# UserAndGroupMappings :
# PermissionLevelMappings :
# SiteTemplateMappings :
# SensitivityLabelMappings : ParentSL \ ChildLabel2 -> ParentDestSL \ ChildDestLabel2
構文
Remove-SensitivityLabelMapping
-MappingSettings <MappingSettings>
-Source <String>
Remove-SensitivityLabelMapping
-MappingSettings <MappingSettings>
-DefaultDestinationLabel <SwitchParameter>
パラメーター
-DefaultDestinationLabel <SwitchParameter>
デフォルトの移行先 Sensitivity Label を削除するよう指定します。
必須? | True |
デフォルト値 | None |
パイプライン入力を許可? | False |
ワイルドカード文字を許可? | False |
パラメーターセット名 | (All) |
エイリアス | None |
-MappingSettings <MappingSettings>
マッピング設定を指定します。
必須? | True |
デフォルト値 | None |
パイプライン入力を許可? | True (ByValue, ByPropertyName) |
ワイルドカード文字を許可? | False |
パラメーターセット名 | (All) |
エイリアス | None |
-Source <String>
移行元の Sensitivity Label を指定します。
必須? | True |
デフォルト値 | None |
パイプライン入力を許可? | False |
ワイルドカード文字を許可? | False |
パラメーターセット名 | (All) |
エイリアス | None |
この記事はAIによって翻訳されています。ご不明な点がある場合は、英語の原文をご確認ください。
