TestimoX

API Reference

Command

Get-ADXGpoPolicyValues

Namespace ADPlayground.PowerShell
Inputs
System.String[]
Outputs
ADPlayground.Gpo.Policy.GpoEffectivePolicyReader+EffectivePolicyValueRecord

Returns effective GPO registry policy values for a target DN.

Examples

Authored help example

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[] requiredposition: 0pipeline: true (ByValue)
One or more pairs in the form 'key|valueName' under the Policies branches.
DistinguishedName string optionalposition: namedpipeline: false
Target distinguishedName (computer or OU). Defaults to Domain Controllers OU when omitted.
Domain string optionalposition: namedpipeline: false
DNS domain name (e.g., contoso.com). If omitted, the current domain is used.

Outputs

ADPlayground.Gpo.Policy.GpoEffectivePolicyReader+EffectivePolicyValueRecord