Get-CsTeamsShiftsPolicy
This cmdlet allows you to get properties of a TeamsShiftPolicy instance, including user's 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 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
-Identity
Policy instance name. Optional.
Type: | XdsIdentity |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
Inputs
None
Outputs
System.Object
Related Links
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈