Get-CsUserPolicyPackage
This cmdlet supports retrieving the policy package that's assigned to a user.
Syntax
Default (Default)
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://free.blessedness.top/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
Applicable: Microsoft Teams
The user that will get their assigned policy package.
Parameter properties
| Type: | String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 0 |
| 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.