Skip to content

Commit 1cf780a

Browse files
authored
Merge pull request MicrosoftDocs#8164 from akumar39/patch-2
Update New-CSTeamsShiftsPolicy.md
2 parents b2b0bad + 1a366d1 commit 1cf780a

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

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

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ This cmdlet allows you to create a new TeamsShiftPolicy instance and set it's pr
1616
```
1717
New-CsTeamsShiftsPolicy [-Identity] <XdsIdentity> [-EnableShiftPresence <Boolean>]
1818
[-ShiftNoticeFrequency <String>] [-ShiftNoticeMessageType <String>] [-ShiftNoticeMessageCustom <String>]
19-
[-AccessType <String>] [-AccessGracePeriodMinutes <Int64>] [<CommonParameters>]
19+
[-AccessType <String>] [-AccessGracePeriodMinutes <Int64>] [-EnableScheduleOwnerPermissions <Boolean>] [<CommonParameters>]
2020
```
2121

2222
## DESCRIPTION
23-
This cmdlet allows you to create a TeamsShiftPolicy instance. Use this to also set the policy name, user's shift based presence (EnableShiftPresence) and Teams off shift warning message-specific settings (ShiftNoticeMessageType, ShiftNoticeMessageCustom, ShiftNoticeFrequency, AccessGracePeriodMinutes).
23+
This cmdlet allows you to create a TeamsShiftPolicy instance. Use this to also set the policy name, schedule owner permissions, user's shift based presence (EnableShiftPresence) and Teams off shift warning message-specific settings (ShiftNoticeMessageType, ShiftNoticeMessageCustom, ShiftNoticeFrequency, AccessGracePeriodMinutes).
2424

2525

2626
## EXAMPLES
@@ -34,7 +34,7 @@ Creates a new instance of TeamsShiftsPolicy called OffShiftAccessMessage1Always
3434

3535
### Example 2
3636
```powershell
37-
PS C:\> New-CsTeamsShiftsPolicy -Identity OffShiftAccessMessage1Always -EnableShiftPresence $true -ShiftNoticeFrequency always -ShiftNoticeMessageType Message1 -AccessType UnrestrictedAccess_TeamsApp -AccessGracePeriodMinutes 5
37+
PS C:\> New-CsTeamsShiftsPolicy -Identity OffShiftAccessMessage1Always -EnableShiftPresence $true -ShiftNoticeFrequency always -ShiftNoticeMessageType Message1 -AccessType UnrestrictedAccess_TeamsApp -AccessGracePeriodMinutes 5 -EnableScheduleOwnerPermissions $false
3838
```
3939

4040
Creates a new instance of TeamsShiftsPolicy called OffShiftAccessMessage1Always and applies the provided values to its settings.
@@ -159,6 +159,21 @@ Accept pipeline input: False
159159
Accept wildcard characters: False
160160
```
161161
162+
### -EnableScheduleOwnerPermissions
163+
Indicates whether a user can manage a Shifts schedule as a team member.
164+
165+
```yaml
166+
Type: Boolean
167+
Parameter Sets: (All)
168+
Aliases:
169+
Applicable: Microsoft Teams
170+
Required: False
171+
Position: Named
172+
Default value: False
173+
Accept pipeline input: False
174+
Accept wildcard characters: False
175+
```
176+
162177
### CommonParameters
163178
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).
164179

0 commit comments

Comments
 (0)