TestimoX

API Reference

Command

Get-ADXGpoFiles

Namespace ADPlayground.PowerShell
Outputs
ADPlayground.Gpo.GpoFileRow

Lists files in SYSVOL and/or NETLOGON and provides best-effort suggested actions.

Examples

Authored help example

Example 1


Get-ADXGpoFiles -Domain contoso.com -Type Sysvol
        

Example 2


Get-ADXGpoFiles -Type All,Netlogon -HashAlgorithm SHA256
        

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-ADXGpoFiles [-ComputerName <string>] [-Domain <string>] [-Forest <string>] [-HashAlgorithm <MD5|SHA1|SHA256|SHA384|SHA512>] [-MaxRowsPerDomain <int>] [-ScanCapPerRoot <int>] [-Type <All|Sysvol|Netlogon>] [<CommonParameters>]
#

Parameters

ComputerName string optionalposition: namedpipeline: false
Optional server/DC name to use for UNC paths (when omitted, uses the domain name).
Domain string optionalposition: namedpipeline: false
Optional domain filter to limit enumeration to one domain.
Forest string optionalposition: namedpipeline: false
Forest DNS name to enumerate. When omitted, uses the current forest.
HashAlgorithm FileHashAlgorithm optionalposition: namedpipeline: falsevalues: 5
Optional checksum algorithm. Possible values: None, MD5, SHA1, SHA256, SHA384, SHA512
Possible values: MD5, SHA1, SHA256, SHA384, SHA512
MaxRowsPerDomain int optionalposition: namedpipeline: false
Maximum number of rows to emit per domain.
ScanCapPerRoot int optionalposition: namedpipeline: false
Maximum number of filesystem entries (directories + files) to scan per root.
Type ScanType[] optionalposition: namedpipeline: falsevalues: 3
Scan scope. Default is All (SYSVOL root). Possible values: All, Sysvol, Netlogon
Possible values: All, Sysvol, Netlogon

Outputs

ADPlayground.Gpo.GpoFileRow