Get-CsPolicyPackage

This cmdlet supports retrieving all the policy packages available on a tenant.

Syntax

Get-CsPolicyPackage
   [[-Identity] <String>]
   [<CommonParameters>]

Description

This cmdlet supports retrieving all the policy packages available on a tenant. Provide the identity of a specific policy package to retrieve its definition, including details on the policies applied with the package. For more information on policy packages, please review https://docs.microsoft.com/MicrosoftTeams/manage-policy-packages.

Examples

Example 1

PS C:\> Get-CsPolicyPackage

Returns all policy packages available on the tenant.

Example 2

PS C:\> Get-CsPolicyPackage -Identity Education_PrimaryStudent

Returns the definition of the Education_PrimaryStudent policy package, including the policies applied with the package.

Parameters

-Identity

The name of a specific policy package. All possible policy package names can be found by running Get-CsPolicyPackage.

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams