fr-FR

CsTeamsShiftsPolicy

La documentation Microsoft de ces stratégies n’existe qu’en anglais : les descriptions ci-dessous ne sont pas traduites.

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

This cmdlet allows you to set or update properties of a TeamsShiftPolicy instance. Use this to set the policy name and Teams off shift warning message-specific settings (ShiftNoticeMessageType, ShiftNoticeMessageCustom, ShiftNoticeFrequency, AccessGracePeriodMinutes).

Cmdlets disponibles

Paramètres

Nom Type Valeur par défaut Valeurs acceptées
AccessGracePeriodMinutes Int64
AccessType String UnrestrictedAccess_TeamsApp
EnableScheduleOwnerPermissions Boolean False
ShiftNoticeFrequency String Always
ShiftNoticeMessageCustom String
ShiftNoticeMessageType String DefaultMessage

Exemples

Example 1

PS C:\> Set-CsTeamsShiftsPolicy -Identity OffShiftAccess_WarningMessage1_AlwaysShowMessage -ShiftNoticeMessageType Message1 -ShiftNoticeFrequency always -AccessGracePeriodMinutes 5

In this example, the policy instance is called "OffShiftAccess_WarningMessage1_AlwaysShowMessage", a warning message (Message 1) will always be displayed to the user on opening Teams during off shift hours.

Documentation Microsoft Learn