Skip to content

Commit 97d67fb

Browse files
Update New-CsTeamsShiftsPolicy.md
adding missing parameters
1 parent 9f46fc7 commit 97d67fb

File tree

1 file changed

+51
-4
lines changed

1 file changed

+51
-4
lines changed

teams/teams-ps/teams/New-CsTeamsShiftsPolicy.md

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ This cmdlet allows you to create a new TeamsShiftPolicy instance and set it's pr
1313

1414
## SYNTAX
1515

16-
```
17-
New-CsTeamsShiftsPolicy [-Identity] <XdsIdentity>
18-
[-ShiftNoticeFrequency <String>] [-ShiftNoticeMessageType <String>] [-ShiftNoticeMessageCustom <String>]
19-
[-AccessType <String>] [-AccessGracePeriodMinutes <Int64>] [-EnableScheduleOwnerPermissions <Boolean>] [<CommonParameters>]
16+
```powershell
17+
New-CsTeamsShiftsPolicy [-ShiftNoticeFrequency <String>] [-ShiftNoticeMessageType <String>]
18+
[-ShiftNoticeMessageCustom <String>] [-AccessType <String>] [-AccessGracePeriodMinutes <Int64>]
19+
[-EnableScheduleOwnerPermissions <Boolean>] [-Identity] <String> [-Force] [-WhatIf] [-Confirm]
20+
[<CommonParameters>]
2021
```
2122

2223
## DESCRIPTION
@@ -159,6 +160,52 @@ Accept pipeline input: False
159160
Accept wildcard characters: False
160161
```
161162
163+
### -Confirm
164+
Prompts you for confirmation before running the cmdlet.
165+
166+
```yaml
167+
Type: SwitchParameter
168+
Parameter Sets: (All)
169+
Aliases: cf
170+
171+
Required: False
172+
Position: Named
173+
Default value: None
174+
Accept pipeline input: False
175+
Accept wildcard characters: False
176+
```
177+
178+
### -Force
179+
Suppresses the display of any non-fatal error message that might arise when running the command.
180+
181+
```yaml
182+
Type: SwitchParameter
183+
Parameter Sets: (All)
184+
Aliases:
185+
186+
Required: False
187+
Position: Named
188+
Default value: None
189+
Accept pipeline input: False
190+
Accept wildcard characters: False
191+
```
192+
193+
### -WhatIf
194+
Shows what would happen if the cmdlet runs.
195+
The cmdlet is not run.
196+
197+
```yaml
198+
Type: SwitchParameter
199+
Parameter Sets: (All)
200+
Aliases: wi
201+
202+
Required: False
203+
Position: Named
204+
Default value: None
205+
Accept pipeline input: False
206+
Accept wildcard characters: False
207+
```
208+
162209
### CommonParameters
163210
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/?LinkID=113216).
164211

0 commit comments

Comments
 (0)