API Reference
Function
Get-GPOZaurrNetLogon
Retrieves information about Group Policy Objects (GPO) stored in the Netlogon and SYSVOL directories.
Remarks
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
PS >
Get-GPOZaurrNetLogon -Forest "contoso.com" -IncludeDomains "domain1", "domain2"
Retrieves GPO information for the specified forest and domains.
EXAMPLE 2
PS >
Get-GPOZaurrNetLogon -OwnerOnly
Retrieves GPO information only for GPOs with identified owners.
EXAMPLE 3
PS >
Get-GPOZaurrNetLogon -SkipOwner
Retrieves GPO information while skipping the owner check.
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-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [<CommonParameters>]
#
Parameter set:
DefaultParameters
- 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.
Get-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-OwnerOnly] [<CommonParameters>]
#
Parameter set:
OwnerOnlyParameters
- 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.
Get-GPOZaurrNetLogon [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomains <String[]>] [-SkipOwner] [<CommonParameters>]
#
Parameter set:
SkipOwnerParameters
- 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.
- SkipOwner SwitchParameter
- Specifies whether to skip checking the owner of GPOs.