CmdID / PowerShell / Cmdlets / Set
Set-LabelPolicy
Use the Set-Label cmdlet to modify sensitivity label policies in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 39 parameters Its page in the reference
Parameters
Show its 39 parameters
-IdentityThe Identity parameter specifies the policy that you want to view.-RetryDistributionThe RetryDistribution switch specifies whether to redistribute the policy to all Exchange Online locations.-AddExchangeLocationThe AddExchangeLocation parameter specifies the mailboxes to add to the list of included mailboxes when you aren't using the value All for the ExchangeLocation parameter.-AddExchangeLocationExceptionThe AddExchangeLocationException parameter specifies the mailboxes to add to the list of excluded mailboxes when you use the value All for the ExchangeLocation parameter.-AddLabelsThe AddLabels parameter specifies the sensitivity labels that you want to add to the policy.-AddModernGroupLocationThe AddModernGroupLocation parameter specifies the Microsoft 365 Groups to add to the list of included Microsoft 365 Groups.-AddModernGroupLocationExceptionThis parameter is reserved for internal Microsoft use.-AddOneDriveLocationThis parameter is reserved for internal Microsoft use.-AddOneDriveLocationExceptionThis parameter is reserved for internal Microsoft use.-AddPublicFolderLocationThis parameter is reserved for internal Microsoft use.-AddSharePointLocationThis parameter is reserved for internal Microsoft use.-AddSharePointLocationExceptionThis parameter is reserved for internal Microsoft use.-AddSkypeLocationThis parameter is reserved for internal Microsoft use.-AddSkypeLocationExceptionThis parameter is reserved for internal Microsoft use.-AdvancedSettingsThe AdvancedSettings parameter enables client-specific features and capabilities for the sensitivity label policy.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ExchangeAdaptiveScopes-ExchangeAdaptiveScopesException-ForceThe Force switch hides warning or confirmation messages.-MigrationIdThis parameter is reserved for internal Microsoft use.-NextLabelPolicyThe NextLabelPolicy parameter updates the policy order so the policy that's specified by this parameter is after the current policy that you're modifying.-PolicyRBACScopesThe PolicyRBACScopes parameter specifies the administrative units to assign to the policy.-PreviousLabelPolicyThe PreviousLabelPolicy parameter updates the policy order so the policy that's specified by this parameter is before the current policy that you're modifying.-RemoveExchangeLocationThe RemoveExchangeLocation parameter specifies the mailboxes to remove from the list of included mailboxes when you aren't using the value All for the ExchangeLocation parameter.-RemoveExchangeLocationExceptionThe RemoveExchangeLocationException parameter specifies the mailboxes to remove from the list of excluded mailboxes when you're using the value All for the ExchangeLocation parameter.-RemoveLabelsThe RemoveLabels parameter specifies the sensitivity labels that you want to remove from the policy.-RemoveModernGroupLocationThe RemoveModernGroupLocation parameter specifies the Microsoft 365 Groups to remove from the list of included groups.-RemoveModernGroupLocationExceptionThis parameter is reserved for internal Microsoft use.-RemoveOneDriveLocationThis parameter is reserved for internal Microsoft use.-RemoveOneDriveLocationExceptionThis parameter is reserved for internal Microsoft use.-RemovePublicFolderLocationThis parameter is reserved for internal Microsoft use.-RemoveSharePointLocationThis parameter is reserved for internal Microsoft use.-RemoveSharePointLocationExceptionThis parameter is reserved for internal Microsoft use.-RemoveSkypeLocationThis parameter is reserved for internal Microsoft use.-RemoveSkypeLocationExceptionThis parameter is reserved for internal Microsoft use.-SettingThis parameter is reserved for internal Microsoft use.-SettingsThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.