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://learn.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 only the Education_PrimaryStudent policy package.
Example 3
PS C:\> $a = Get-CsPolicyPackage -Identity Education_PrimaryStudent
PS C:\> $a.Policies
# In module versions 1.1.9+
PS C:\> $a = Get-CsPolicyPackage -Identity Education_PrimaryStudent
PS C:\> $a.Policies.AdditionalProperties
Key Value
--- -----
TeamsMessagingPolicy {[Identity, Education_PrimaryStudent], [Description, This is an Education_PrimarySt...
TeamsMeetingPolicy {[Identity, Education_PrimaryStudent], [Description, This is an Education_PrimarySt...
TeamsAppSetupPolicy {[Identity, Education_PrimaryStudent], [Description, This is an Education_PrimarySt...
TeamsCallingPolicy {[Identity, Education_PrimaryStudent], [Description, This is an Education_PrimarySt...
TeamsMeetingBroadcastPolicy {[Identity, Education_PrimaryStudent], [Description, This is an Education_PrimarySt...
Returns the set of policies in the Education_PrimaryStudent policy 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 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | Microsoft Teams |
Related Links
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें