Editar

Compartilhar via


Remove-CsTeamsShiftsPolicy

The Remove-CsTeamsShiftsPolicy cmdlet removes a previously created TeamsShiftsPolicy.

Note: A TeamsShiftsPolicy needs to be unassigned from all the users before it can be deleted.

Syntax

Remove-CsTeamsShiftsPolicy
      [-Identity] <XdsIdentity>
      [<CommonParameters>]

Examples

Example 1

PS C:\> Remove-CsTeamsShiftsPolicy -Identity OffShiftAccess_WarningMessage1_AlwaysShowMessage

In this example, the policy instance to be removed is called "OffShiftAccess_WarningMessage1_AlwaysShowMessage".

Parameters

-Identity

Policy instance name.

Type:XdsIdentity
Position:1
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

Inputs

Microsoft.Rtc.Management.Xds.XdsIdentity

Outputs

System.Object