CmdID / PowerShell / Cmdlets / New
New-LabelPolicy
Use the New-LabelPolicy cmdlet to create sensitivity label policies in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 24 parameters Its page in the reference
Parameters
Show its 24 parameters
-NameThe Name parameter specifies the unique name for the policy.-LabelsThe Labels parameter specifies the sensitivity labels that are associated with the policy.-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-ExchangeLocationThe ExchangeLocation parameter specifies the mailboxes to include in the policy.-ExchangeLocationExceptionThe ExchangeLocationException parameter specifies the mailboxes to exclude when you use the value All for the ExchangeLocation parameter.-ForceThe Force switch hides warning or confirmation messages.-MigrationIdThis parameter is reserved for internal Microsoft use.-ModernGroupLocationThe ModernGroupLocation parameter specifies the Microsoft 365 Groups to include in the policy.-ModernGroupLocationExceptionThis parameter is reserved for internal Microsoft use.-OneDriveLocationThis parameter is reserved for internal Microsoft use.-OneDriveLocationExceptionThis parameter is reserved for internal Microsoft use.-PolicyRBACScopesThe PolicyRBACScopes parameter specifies the administrative units to assign to the policy.-PublicFolderLocationThis parameter is reserved for internal Microsoft use.-SettingThis parameter is reserved for internal Microsoft use.-SettingsThis parameter is reserved for internal Microsoft use.-SharePointLocationThis parameter is reserved for internal Microsoft use.-SharePointLocationExceptionThis parameter is reserved for internal Microsoft use.-SkypeLocationThis parameter is reserved for internal Microsoft use.-SkypeLocationExceptionThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.