API Reference
Command
Get-ADXGpoPolicyValues
Returns effective GPO registry policy values for a target DN.
Examples
Example 1
Get-ADXGpoPolicyValues -Domain contoso.com -Pair 'System\CurrentControlSet\Services\LanmanServer\Parameters|RequireSecuritySignature'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-ADXGpoPolicyValues -Pair <string[]> [-DistinguishedName <string>] [-Domain <string>] [<CommonParameters>]#Parameters
- Pair string[]
- One or more pairs in the form 'key|valueName' under the Policies branches.
- DistinguishedName string
- Target distinguishedName (computer or OU). Defaults to Domain Controllers OU when omitted.
- Domain string
- DNS domain name (e.g., contoso.com). If omitted, the current domain is used.
Outputs
ADPlayground.Gpo.Policy.GpoEffectivePolicyReader+EffectivePolicyValueRecord