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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應