TestimoX

API Reference

Command

Get-ADXGpoPassword

Namespace ADPlayground.PowerShell
Inputs
System.String[]
Outputs
ADPlayground.Gpo.GppPasswordSnapshot

Finds Group Policy Preference passwords (cpassword) in SYSVOL.

Examples

Generated fallback example

Generated fallback example from parameter set 'By Path'.


Get-ADXGpoPassword -Path @('C:\Path')
        

Generated fallback example from parameter set 'By Domain + SearchPattern'.


Get-ADXGpoPassword -Domain @('Value')
        

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-ADXGpoPassword [-Domain <string[]>] [-SearchPattern <string[]>] [<CommonParameters>]
#
Parameter set: By Domain + SearchPattern

Parameters

Domain string[] optionalposition: 0pipeline: true (ByPropertyName)
Domain DNS names to scan. When omitted, scans all forest domains.
SearchPattern string[] optionalposition: namedpipeline: false
Optional search patterns (e.g. '*' or specific XML names).

Outputs

ADPlayground.Gpo.GppPasswordSnapshot

Get-ADXGpoPassword -Path <string[]> [-PathSearchPattern <string[]>] [<CommonParameters>]
#
Parameter set: By Path

Parameters

Path string[] requiredposition: 0pipeline: true (ByValue, ByPropertyName)aliases: FilePath
Paths (files or directories) to scan explicitly instead of SYSVOL discovery. When provided, outputs individual file hits (compat with legacy cmdlet).
PathSearchPattern string[] optionalposition: namedpipeline: false
Optional search patterns for -Path scans.

Outputs

ADPlayground.Gpo.GppPasswordSnapshot