CmdID

CmdID / PowerShell / Cmdlets / Set

Set-Label

Use the Set-Label cmdlet to modify sensitivity labels in your organization. Exchange PowerShell reference

From the Exchange PowerShell reference 82 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

82 in the Exchange PowerShell reference
Show its 82 parameters
-IdentityThe Identity parameter specifies the sensitivity label that you want to modify.
-AdvancedSettingsThe AdvancedSettings parameter enables specific features and capabilities for a sensitivity label.
-ApplyContentMarkingFooterAlignmentThe ApplyContentMarkingFooterAlignment parameter specifies the footer alignment.
-ApplyContentMarkingFooterEnabledThe ApplyContentMarkingFooterEnabled parameter enables or disables the Apply Content Marking Footer action for the label.
-ApplyContentMarkingFooterFontColorThe ApplyContentMarkingFooterFontColor parameter specifies the color of the footer text.
-ApplyContentMarkingFooterFontNameThe ApplyContentMarkingFooterFontName parameter specifies the font of the footer text.
-ApplyContentMarkingFooterFontSizeThe ApplyContentMarkingFooterFontSize parameter specifies the font size (in points) of the footer text.
-ApplyContentMarkingFooterMarginThe ApplyContentMarkingFooterMargin parameter specifies the size (in points) of the footer margin.
-ApplyContentMarkingFooterTextThe ApplyContentMarkingFooterText parameter specifies the footer text.
-ApplyContentMarkingHeaderAlignmentThe ApplyContentMarkingHeaderAlignment parameter specifies the header alignment.
-ApplyContentMarkingHeaderEnabledThe ApplyContentMarkingHeaderEnabled parameter enables or disables the Apply Content Marking Header action for the label.
-ApplyContentMarkingHeaderFontColorThe ApplyContentMarkingHeaderFontColor parameter specifies the color of the header text.
-ApplyContentMarkingHeaderFontNameThe ApplyContentMarkingHeaderFontName parameter specifies the font of the header text.
-ApplyContentMarkingHeaderFontSizeThe ApplyContentMarkingHeaderFontSize parameter specifies the font size (in points) of the header text.
-ApplyContentMarkingHeaderMarginThe ApplyContentMarkingHeaderMargin parameter specifies the size (in points) of the header margin.
-ApplyContentMarkingHeaderTextThe ApplyContentMarkingHeaderText parameter specifies the header text.
-ApplyDynamicWatermarkingEnabledThe ApplyDynamicWatermarkingEnabled parameter enables dynamic watermarking for a specific label that applies encryption.
-ApplyWaterMarkingEnabledThe ApplyWaterMarkingEnabled parameter enables or disables the Apply Watermarking Header action for the label.
-ApplyWaterMarkingFontColorThe ApplyWaterMarkingFontColor parameter specifies the color of the watermark text.
-ApplyWaterMarkingFontNameThe ApplyWaterMarkingFontName parameter specifies the font of the watermark text.
-ApplyWaterMarkingFontSizeThe ApplyWaterMarkingFontSize parameter specifies the font size (in points) of the watermark text.
-ApplyWaterMarkingLayoutThe ApplyWaterMarkingLayout parameter specifies the watermark alignment.
-ApplyWaterMarkingTextThe ApplyWaterMarkingText parameter specifies the watermark text.
-ColumnAssetConditionThis parameter is reserved for internal Microsoft use.
-CommentThe Comment parameter specifies an optional comment.
-ConditionsThe Conditions parameter is used for automatic labeling of files and email for data in use.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-ContentTypeThe ContentType parameter specifies where the sensitivity label can be applied.
-DefaultContentLabelThe DefaultContentLabel specifies a label that can be automatically applied to meetings created in a labeled Teams channel.
-DisplayNameThe DisplayName parameter specifies the display name for the sensitivity label.
-DynamicWatermarkDisplayThe DynamicWatermarkDisplay parameter specifies the watermark text to display for a given label.
-EncryptionContentExpiredOnDateInDaysOrNeverThe EncryptionContentExpiredOnDateInDaysOrNever parameter specifies when the encrypted content expires.
-EncryptionDoNotForwardThe EncryptionDoNotForward parameter specifies whether the Do Not Forward template is applied.
-EncryptionDoubleKeyEncryptionUrlThis parameter is reserved for internal Microsoft use.
-EncryptionEnabledThe EncryptionEnabled parameter specifies whether encryption in enabled.
-EncryptionEncryptOnlyThe EncryptionEncryptOnly parameter specifies whether the encrypt-only template is applied.
-EncryptionOfflineAccessDaysThe EncryptionOfflineAccessDays parameter specifies the number of days that offline access is allowed.
-EncryptionPromptUserThe EncryptionPromptUser parameter specifies whether to set the label with user defined permission in Word, Excel, and PowerPoint.
-EncryptionProtectionTypeThe EncryptionProtectionType parameter specifies the protection type for encryption.
-EncryptionRightsDefinitionsThe EncryptionRightsDefinitions parameter specifies the rights users have when accessing protected.
-EncryptionRightsUrlThe EncryptionRightsUrl parameter specifies the URL for hold your own key (HYOK) protection.
-LabelActionsThe LabelActions parameter is used to specify actions that can be performed on labels.
-LocaleSettingsThe LocaleSettings parameter specifies one or more localized label names and label Tooltips in different languages.
-MigrationIdThis parameter is reserved for internal Microsoft use.
-NextLabelThis parameter is reserved for internal Microsoft use.
-ParentIdThe ParentId parameter specifies the parent label that you want this label to be under (a sublabel).
-PreviousLabelThis parameter is reserved for internal Microsoft use.
-PriorityThe Priority parameter specifies a priority value for the sensitivity label that determines the order of label processing.
-RemoveParentLink
-SchematizedDataConditionThis parameter is reserved for internal Microsoft use.
-SettingThis parameter is reserved for internal Microsoft use.
-SettingsThis parameter is reserved for internal Microsoft use.
-SiteAndGroupProtectionAllowAccessToGuestUsersThe SiteAndGroupProtectionAllowAccessToGuestUsers parameter enables or disables access to guest users.
-SiteAndGroupProtectionAllowEmailFromGuestUsersThe SiteAndGroupProtectionAllowEmailFromGuestUsers parameter enables or disables email from guest users.
-SiteAndGroupProtectionAllowFullAccessThe SiteAndGroupProtectionAllowFullAccess parameter enables or disables full access.
-SiteAndGroupProtectionAllowLimitedAccessThe SiteAndGroupProtectionAllowLimitedAccess parameter enables or disables limited access.
-SiteAndGroupProtectionBlockAccessThe SiteAndGroupProtectionBlockAccess parameter blocks access.
-SiteAndGroupProtectionEnabledThe SiteAndGroupProtectionEnabled parameter enables or disables the Site and Group Protection action for the label.
-SiteAndGroupProtectionLevel
-SiteAndGroupProtectionPrivacyThe SiteAndGroupProtectionPrivacy parameter specifies the privacy level for the labe.
-SiteExternalSharingControlTypeThe SiteExternalSharingControlType parameter specifies the external user sharing setting for the label.
-TeamsAllowedPresentersThe TeamsAllowedPresenters parameter controls who can present in Teams meetings.
-TeamsAllowMeetingChatThe TeamsAllowMeetingChat parameter controls whether chat is available in Teams meetings.
-TeamsAllowPrivateTeamsToBeDiscoverableUsingSearch
-TeamsBypassLobbyForDialInUsersThe TeamsBypassLobbyForDialInUsers parameter controls the lobby experience for dial-in users who join Teams meetings.
-TeamsChannelProtectionEnabled
-TeamsChannelSharedWithExternalTenants
-TeamsChannelSharedWithPrivateTeamsOnly
-TeamsChannelSharedWithSameLabelOnly
-TeamsCopyRestrictionEnforcedThe TeamsCopyRestrictionEnforced parameter controls whether chat messages in Teams meetings can be copied to the clipboard.
-TeamsDetectSensitiveContentDuringScreenSharingEnabled
-TeamsDisableLobby
-TeamsEndToEndEncryptionEnabledThe TeamsEndToEndEncryptionEnabled parameter controls video stream encryption in Teams meetings.
-TeamsLobbyBypassScopeThe TeamsLobbyBypassScope parameter controls who bypasses the lobby when joining Teams meetings.
-TeamsLobbyRestrictionEnforcedThe TeamsLobbyRestrictionEnforced parameter controls whether participants bypass the lobby when joining Teams meetings.
-TeamsPresentersRestrictionEnforcedThe TeamsPresentersRestrictionEnforced parameter controls whether presenter restrictions are enabled in Teams meetings.
-TeamsProtectionEnabledThe TeamsProtectionEnabled parameter controls whether Teams protection is enabled in Teams meetings.
-TeamsRecordAutomaticallyThe TeamsRecordAutomatically parameter controls whether Teams meetings are automatically recorded after they start.
-TeamsVideoWatermarkThe TeamsVideoWatermark parameter controls whether a watermark is shown in Teams meetings.
-TeamsWhoCanRecordThe TeamsWhoCanRecord parameter controls who can record Teams meetings.
-TooltipThe ToolTip parameter specifies the default tooltip and sensitivity label description that's seen by users.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.