CmdID

CmdID / PowerShell / Cmdlets / Set

Set-CsTeamsShiftsPolicy

This cmdlet allows you to set or update properties of a TeamsShiftPolicy instance, including Teams off shift warning message-specific settings. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 10 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

10 in the Microsoft Teams PowerShell reference
-AccessGracePeriodMinutesIndicates the grace period time in minutes between when the first shift starts, or last shift ends and when access is blocked.
-AccessTypeIndicates the Teams access type granted to the user.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-EnableScheduleOwnerPermissionsIndicates whether a user can manage a Shifts schedule as a team member.
-ForceSuppresses the display of any non-fatal error message that might arise when running the command.
-IdentityPolicy instance name.
-ShiftNoticeFrequencyFrequency of warning dialog displayed when user opens Teams.
-ShiftNoticeMessageCustomProvide a custom message.
-ShiftNoticeMessageTypeThe warning message is shown in the blocking dialog when a user access Teams off shift hours.
-WhatIf, -wiShows what would happen if the cmdlet runs.