Skip to content

Commit 555df68

Browse files
authored
Merge pull request MicrosoftDocs#6101 from dariomws/patch-184
Update Set-Label.md
2 parents 33e6f5d + 0d65040 commit 555df68

File tree

2 files changed

+19
-20
lines changed

2 files changed

+19
-20
lines changed

exchange/exchange-ps/exchange/New-Label.md

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ For information about the parameter sets in the Syntax section below, see [Excha
2222
## SYNTAX
2323

2424
```
25-
New-Label [-Name] <String> -DisplayName <String>
25+
New-Label [-Name] <String> -DisplayName <String> -Tooltip <String>
2626
[-AdvancedSettings <PswsHashtable>]
2727
[-ApplyContentMarkingFooterAlignment <Microsoft.Office.CompliancePolicy.Tasks.FlattenLabelActionUtils+ContentAlignment>]
2828
[-ApplyContentMarkingFooterEnabled <System.Boolean>]
@@ -74,7 +74,6 @@ New-Label [-Name] <String> -DisplayName <String>
7474
[-SiteAndGroupProtectionBlockAccess <System.Boolean>]
7575
[-SiteAndGroupProtectionEnabled <System.Boolean>]
7676
[-SiteAndGroupProtectionPrivacy <Microsoft.Office.CompliancePolicy.PolicyConfiguration.AccessType>]
77-
[-Tooltip <String>]
7877
[-WhatIf]
7978
[<CommonParameters>]
8079
```
@@ -125,6 +124,22 @@ Accept pipeline input: False
125124
Accept wildcard characters: False
126125
```
127126
127+
### -Tooltip
128+
The ToolTip parameter specifies the default tooltip and sensitivity label description that's seen by users. It the value contains spaces, enclose the value in quotation marks (").
129+
130+
```yaml
131+
Type: String
132+
Parameter Sets: (All)
133+
Aliases:
134+
Applicable: Office 365 Security & Compliance Center
135+
136+
Required: True
137+
Position: Named
138+
Default value: None
139+
Accept pipeline input: False
140+
Accept wildcard characters: False
141+
```
142+
128143
### -AdvancedSettings
129144
The AdvancedSettings parameter enables client-specific features and capabilities on the sensitivity label. The settings that you configure with this parameter only affect apps that are designed for the setting. For more information, see [How to configure advanced settings for the client by using Security & Compliance Center PowerShell](https://docs.microsoft.com/azure/information-protection/rms-client/clientv2-admin-guide-customizations#how-to-configure-advanced-settings-for-the-client-by-using-office-365-security--compliance-center-powershell).
130145
@@ -1087,22 +1102,6 @@ Accept pipeline input: False
10871102
Accept wildcard characters: False
10881103
```
10891104

1090-
### -Tooltip
1091-
The ToolTip parameter specifies the default tooltip and sensitivity label description that's seen by users. It the value contains spaces, enclose the value in quotation marks (").
1092-
1093-
```yaml
1094-
Type: String
1095-
Parameter Sets: (All)
1096-
Aliases:
1097-
Applicable: Office 365 Security & Compliance Center
1098-
1099-
Required: False
1100-
Position: Named
1101-
Default value: None
1102-
Accept pipeline input: False
1103-
Accept wildcard characters: False
1104-
```
1105-
11061105
### -WhatIf
11071106
The WhatIf switch doesn't work in Office 365 Security & Compliance Center PowerShell.
11081107

exchange/exchange-ps/exchange/Set-Label.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ You need to be assigned permissions in the Security & Compliance Center before y
5050

5151
### Example 1
5252
```powershell
53-
Set-Label -Identity General -LocaleSettings '{"localeKey":"DisplayName","Settings":[{"Key":"en-us","Value":"English display name"},{"Key":"de-de","Value":"Deutscher Anzeigename"},{"Key":"es-es","Value":"Nombre para mostrar en Español"}]}'
53+
Set-Label -Identity "Label1" -LocaleSettings '{"localeKey":"DisplayName","Settings":[{"Key":"en-us","Value":"English display name"},{"Key":"de-de","Value":"Deutscher Anzeigename"},{"Key":"es-es","Value":"Nombre para mostrar en Español"}]}','{"localeKey":"tooltip","Settings":[{"Key":"en-us","Value":"This is an example label"},{"Key":"de-de","Value":"Dies ist ein Beispieletikett"},{"Key":"es-es","Value":"Esta es una etiqueta de ejemplo"}]}'
5454
```
5555

56-
This example sets the localized label name for "General" in different languages (English, German, and Spanish).
56+
This example sets the localized label name for "Label1" in different languages (English, German, and Spanish).
5757

5858
## PARAMETERS
5959

0 commit comments

Comments
 (0)