API Reference
Function
Get-GPOZaurrFiles
Retrieves information about Group Policy Objects (GPOs) stored in SYSVOL and NETLOGON folders.
Remarks
This function retrieves information about GPOs stored in SYSVOL and NETLOGON folders of specified domains. It can filter by type of files and hash algorithms used for verification.
Examples
EXAMPLE 1
PS >
Get-GPOZaurrFiles -Type 'All' -HashAlgorithm 'SHA256' -Signature
Retrieves all files from SYSVOL and NETLOGON folders with SHA256 hash algorithm and includes file signatures.
EXAMPLE 2
PS >
Get-GPOZaurrFiles -Type 'Sysvol' -HashAlgorithm 'MD5' -AsHashTable
Retrieves only SYSVOL files with MD5 hash algorithm and returns the results as a hashtable.
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-GPOZaurrFiles [-AsHashTable] [-ExcludeDomains <String[]>] [-Extended] [-ExtendedForestInformation <IDictionary>] [-ExtendedMetaData] [-Forest <String>] [-HashAlgorithm <MACTripleDES>] [-IncludeDomains <String[]>] [-Signature] [-Type <All|Netlogon|Sysvol>] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- AsHashTable SwitchParameter
- Indicates whether to return the results as a hashtable.
- ExcludeDomains String[]
- Specifies an array of domains to exclude from the search.
- Extended SwitchParameter
- Indicates whether to include extended information about the forest.
- ExtendedForestInformation IDictionary
- Specifies additional forest information to include.
- ExtendedMetaData SwitchParameter
- Indicates whether to include extended metadata information.
- Forest String
- Specifies the forest name to retrieve GPO information from.
- HashAlgorithm String
- Specifies the hash algorithm to use for file verification. Valid values are 'None', 'MACTripleDES', 'MD5', 'RIPEMD160', 'SHA1', 'SHA256', 'SHA384', 'SHA512'.
- Possible values:
MACTripleDES,MD5,RIPEMD160,SHA1,SHA256,SHA384,SHA512 - IncludeDomains String[]
- Specifies an array of domains to include in the search.
- Signature SwitchParameter
- Indicates whether to include file signatures for verification.
- Type String[]
- Specifies the type of files to retrieve. Valid values are 'All', 'Netlogon', and 'Sysvol'.
- Possible values:
All,Netlogon,Sysvol