Skip to content

Commit fd3917f

Browse files
authored
Merge pull request MicrosoftDocs#5831 from dariomws/patch-168
Added ForceDeletion and Whatif parameter to Remove-Label.md
2 parents 853ab65 + 0e2ef8c commit fd3917f

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

exchange/exchange-ps/exchange/Remove-ComplianceTag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Accept wildcard characters: False
9898
```
9999
100100
### -WhatIf
101-
The WhatIf switch doesn't work in Office 365 Security & Compliance Center PowerShell.
101+
The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.
102102
103103
```yaml
104104
Type: SwitchParameter

exchange/exchange-ps/exchange/Remove-Label.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ For information about the parameter sets in the Syntax section below, see [Excha
2424
```
2525
Remove-Label [-Identity] <ComplianceRuleIdParameter>
2626
[-Confirm]
27+
[-ForceDeletion]
28+
[-WhatIf]
2729
[<CommonParameters>]
2830
```
2931

@@ -83,6 +85,38 @@ Accept pipeline input: False
8385
Accept wildcard characters: False
8486
```
8587
88+
### -ForceDeletion
89+
The ForceDeletion switch forces the removal of the label. You don't need to specify a value with this switch.
90+
91+
```yaml
92+
Type: SwitchParameter
93+
Parameter Sets: (All)
94+
Aliases:
95+
Applicable: Office 365 Security & Compliance Center
96+
97+
Required: False
98+
Position: Named
99+
Default value: None
100+
Accept pipeline input: False
101+
Accept wildcard characters: False
102+
```
103+
104+
### -WhatIf
105+
The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.
106+
107+
```yaml
108+
Type: SwitchParameter
109+
Parameter Sets: (All)
110+
Aliases: wi
111+
Applicable: Office 365 Security & Compliance Center
112+
113+
Required: False
114+
Position: Named
115+
Default value: None
116+
Accept pipeline input: False
117+
Accept wildcard characters: False
118+
```
119+
86120
### CommonParameters
87121
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216).
88122

0 commit comments

Comments
 (0)