Edit

Share via


Remove-CsCustomPolicyPackage

This cmdlet deletes a custom policy package.

Syntax

Default (Default)

Remove-CsCustomPolicyPackage
    -Identity <String>
    [<CommonParameters>]

Description

This cmdlet deletes a custom policy package. All available package names can be found by running Get-CsPolicyPackage.

Examples

Example 1

PS C:\> Remove-CsCustomPolicyPackage -Identity "MyPackage"

Deletes a custom package named "MyPackage".

Parameters

-Identity

Applicable: Microsoft Teams

The name of the custom package.

Parameter properties

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

Parameter sets

(All)
Position:Named
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.

Notes

Default packages created by Microsoft cannot be deleted.