You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The IncludeTestModeResults switch specifies whether to include simulation policy results. You don't need to specify a value with this switch.
134
+
135
+
For more information about simulation mode, see [Learn about simulation mode](https://learn.microsoft.com/microsoft-365/compliance/apply-retention-labels-automatically#learn-about-simulation-mode).
136
+
137
+
```yaml
138
+
Type: SwitchParameter
139
+
Parameter Sets: (All)
140
+
Aliases:
141
+
Applicable: Security & Compliance
142
+
143
+
Required: False
144
+
Position: Named
145
+
Default value: None
146
+
Accept pipeline input: False
147
+
Accept wildcard characters: False
148
+
```
149
+
131
150
### -RetentionRuleTypes
132
151
The RetentionRuleTypes switch specifies whether to return the value of the RetentionRuleTypes property in the results. You don't need to specify a value with this switch.
@@ -101,7 +104,6 @@ This example creates a new auto-apply label policy targeted to cloud attachments
101
104
102
105
The next step is to use the New-RetentionComplianceRule cmdlet to add a retention label to the retention label policy.
103
106
104
-
105
107
## PARAMETERS
106
108
107
109
### -Name
@@ -292,6 +294,24 @@ Accept pipeline input: False
292
294
Accept wildcard characters: False
293
295
```
294
296
297
+
### -IsSimulation
298
+
The IsSimulation switch specifies the retention policy is a DLM simulation. You don't need to specify a value with this switch.
299
+
300
+
For more information about simulation mode, see [Learn about simulation mode](https://learn.microsoft.com/microsoft-365/compliance/apply-retention-labels-automatically#learn-about-simulation-mode).
301
+
302
+
```yaml
303
+
Type: SwitchParameter
304
+
Parameter Sets: (All)
305
+
Aliases:
306
+
Applicable: Security & Compliance
307
+
308
+
Required: False
309
+
Position: Named
310
+
Default value: None
311
+
Accept pipeline input: False
312
+
Accept wildcard characters: False
313
+
```
314
+
295
315
### -ModernGroupLocation
296
316
The ModernGroupLocation parameter specifies the Microsoft 365 Groups to include in the policy. Valid values are:
The StartSimulation parameter specifies whether to start a simulation job. Valid values are:
1023
+
1024
+
- $true: Start the simulation job.
1025
+
- $false: Don't start the simulation job. This is the default value.
1026
+
1027
+
For more information about simulation mode, see [Learn about simulation mode](https://learn.microsoft.com/microsoft-365/compliance/apply-retention-labels-automatically#learn-about-simulation-mode).
1028
+
1029
+
```yaml
1030
+
Type: Boolean
1031
+
Parameter Sets: (All)
1032
+
Aliases:
1033
+
Applicable: Security & Compliance
1034
+
1035
+
Required: False
1036
+
Position: Named
1037
+
Default value: None
1038
+
Accept pipeline input: False
1039
+
Accept wildcard characters: False
1040
+
```
1041
+
996
1042
### -WhatIf
997
1043
The WhatIf switch doesn't work in Security & Compliance PowerShell.
0 commit comments