TestimoX

API Reference

Command

Get-ADXGpoRedirect

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.Gpo.GpoRedirectFinding

Detects GPOs where gPCFileSysPath does not match the expected SYSVOL path.

Examples

Authored help example

Example 1


Get-ADXGpoRedirect
        

Example 2


Get-ADXGpoRedirect -Domain contoso.com
        

Example 3


Get-ADXGpoRedirect -Id '{31B2F340-016D-11D2-945F-00C04FB984F9}'
        

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-ADXGpoRedirect [-Domain <string>] [-Id <Guid[]>] [-Name <string[]>] [<CommonParameters>]
#

Parameters

Domain string optionalposition: namedpipeline: false
DNS domain name to query. Defaults to current forest domains when omitted.
Id Guid[] optionalposition: namedpipeline: false
Optional list of GPO GUIDs to check.
Name string[] optionalposition: namedpipeline: false
Optional list of GPO names to check (supports wildcards).

Outputs

ADPlayground.Gpo.GpoRedirectFinding