Get-PolicyConfig
This cmdlet is available only in Security & Compliance PowerShell. For more information, see Security & Compliance PowerShell.
Use the Get-PolicyConfig cmdlet to view the endpoint restrictions that are configured in the organization.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
Syntax
Get-PolicyConfig
[[-Identity] <OrganizationIdParameter>]
[<CommonParameters>]
Description
To use this cmdlet in Security & Compliance PowerShell, you need to be assigned permissions. For more information, see Permissions in the Microsoft Purview compliance portal.
Examples
Example 1
Get-PolicyConfig
This example returns the endpoint restrictions that are available in the organization.
Parameters
{{ Fill Identity Description }}
| Type: | OrganizationIdParameter |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
| Applies to: | Security & Compliance |
Saran dan Komentar
Kirim dan lihat umpan balik untuk