Command
Get-GPOZaurrNetLogon
Retrieves information about Group Policy Objects (GPO) stored in the Netlogon and SYSVOL directories.
Syntax
Get-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [<CommonParameters>]#Parameter set:
DefaultGet-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-OwnerOnly] [<CommonParameters>]#Parameter set:
OwnerOnlyGet-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-SkipOwner] [<CommonParameters>]#Parameter set:
SkipOwnerDescription
The Get-GPOZaurrNetLogon function retrieves details about GPOs stored in the Netlogon and SYSVOL directories of specified domains within a forest. It provides information about file ownership, status, domain, extension, creation time, and more.
Examples
EXAMPLE 1
Get-GPOZaurrNetLogon -Forest "contoso.com" -IncludeDomains "domain1", "domain2"
Retrieves GPO information for the specified forest and domains.EXAMPLE 2
Get-GPOZaurrNetLogon -OwnerOnly
Retrieves GPO information only for GPOs with identified owners.EXAMPLE 3
Get-GPOZaurrNetLogon -SkipOwner
Retrieves GPO information while skipping the owner check.Parameters
- -ExcludeDomains String[]
- Specifies an array of domains to exclude from GPO retrieval.
- -ExtendedForestInformation IDictionary
- Specifies additional forest information to include in the output.
- -Forest String
- Specifies the forest name to retrieve GPO information from.
- -IncludeDomains String[]
- Specifies an array of domains to include in GPO retrieval.
- -OwnerOnly SwitchParameter
- Specifies whether to include only GPOs with identified owners.
- -SkipOwner SwitchParameter
- Specifies whether to skip checking the owner of GPOs.
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.