Get-CsTeamsShiftsPolicy
This cmdlet allows you to get properties of a TeamsShiftPolicy instance, including user's shift based presence and Teams off shift warning message-specific settings.
Syntax
Get-CsTeamsShiftsPolicy
[[-Identity] <XdsIdentity>]
[<CommonParameters>]
Description
This cmdlet allows you to get properties of a TeamsShiftPolicy instance. Use this to get the policy name, user's shift based presence (EnableShiftPresence) and Teams off shift warning message-specific settings (ShiftNoticeMessageType, ShiftNoticeMessageCustom, ShiftNoticeFrequency, AccessGracePeriodMinutes).
Examples
Example 1
PS C:\> Get-CsTeamsShiftsPolicy
Gets the properties of all instances of the TeamsShiftPolicy.
Example 2
PS C:\> Get-CsTeamsShiftsPolicy -Identity OffShiftAccessMessage1Always
Gets the properties of the OffShiftAccessMessage1Always instance of the TeamsShiftPolicy.
Parameters
Policy instance name. Optional.
| Type: | XdsIdentity |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
| Applies to: | Microsoft Teams |
Inputs
None
Outputs
System.Object
Related Links
フィードバック
フィードバックの送信と表示