Edit

Share via


Remove-CsTeamsShiftsPolicy

The Remove-CsTeamsShiftsPolicy cmdlet removes a previously created TeamsShiftsPolicy.

Syntax

Default (Default)

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

Description

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

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

Applicable: Microsoft Teams

Policy instance name.

Parameter properties

Type:XdsIdentity
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.Rtc.Management.Xds.XdsIdentity

Outputs

System.Object