編輯

共用方式為


Get-CsUserPolicyPackage

This cmdlet supports retrieving the policy package that's assigned to a user.

Syntax

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

Description

This cmdlet supports retrieving the policy package that's assigned to a user. Provide the identity of a user to retrieve the definition of their assigned policy package. For more information on policy packages, please review https://learn.microsoft.com/MicrosoftTeams/manage-policy-packages.

Examples

Example 1

PS C:\> Get-CsUserPolicyPackage -Identity johndoe@example.com

Returns the policy package that's assigned to johndoe@example.com.

Parameters

-Identity

The user that will get their assigned policy package.

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