API Reference
Get-GPOZaurrBroken
Detects broken or otherwise damaged Group Policies
Remarks
Detects broken or otherwise damaged Group Policies providing insight whether GPO exists in both AD and SYSVOL. It provides few statuses: - Permissions issue - means account couldn't read GPO due to permissions - ObjectClass issue - means that ObjectClass is of type Container, rather than expected groupPolicyContainer - Not available on SYSVOL - means SYSVOL data is missing, yet AD metadata is available - Not available in AD - means AD metadata is missing, yet SYSVOL data is available - Exists - means AD metadata and SYSVOL data are available
Examples
EXAMPLE 1
PS >
Get-GPOZaurrBroken -Verbose | Format-Table
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-GPOZaurrBroken [-ExcludeDomainControllers <String[]>] [-ExcludeDomains <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeDomainControllers <String[]>] [-IncludeDomains <String[]>] [-SkipRODC] [-VerifyDomainControllers] [<CommonParameters>]
#
All Parameter SetsParameters
- ExcludeDomainControllers String[]
- Exclude specific domain controllers, by default there are no exclusions, as long as VerifyDomainControllers switch is enabled. Otherwise this parameter is ignored.
- ExcludeDomains String[]
- Exclude domain from search, by default whole forest is scanned
- ExtendedForestInformation IDictionary
- Ability to provide Forest Information from another command to speed up processing
- Forest String
- Target different Forest, by default current forest is used
- IncludeDomainControllers String[]
- Include only specific domain controllers, by default all domain controllers are included, as long as VerifyDomainControllers switch is enabled. Otherwise this parameter is ignored.
- IncludeDomains String[]
- Include only specific domains, by default whole forest is scanned
- SkipRODC SwitchParameter
- Skip Read-Only Domain Controllers. By default all domain controllers are included.
- VerifyDomainControllers SwitchParameter
- Forces cmdlet to check GPO Existance on Domain Controllers rather then per domain