API Reference
Function
Get-GPOZaurrInheritance
Retrieves inheritance information for Group Policy Objects (GPOs) within specified Organizational Units (OUs).
Remarks
This function retrieves and displays inheritance information for GPOs within specified OUs. It provides details on blocked inheritance, excluded objects, and group policies associated with blocked objects.
Examples
EXAMPLE 1
PS >
$Objects = Get-GPOZaurrInheritance -IncludeBlockedObjects -IncludeExcludedObjects -OnlyBlockedInheritance -Exclusions $ExcludedOU
$Objects | 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-GPOZaurrInheritance [-ExcludeDomains <String[]>] [-Exclusions <String[]>] [-ExtendedForestInformation <IDictionary>] [-Forest <String>] [-IncludeBlockedObjects] [-IncludeDomains <String[]>] [-IncludeExcludedObjects] [-IncludeGroupPoliciesForBlockedObjects] [-OnlyBlockedInheritance] [<CommonParameters>]
#
Parameter set:
All Parameter SetsParameters
- ExcludeDomains String[]
- Specifies the domain to exclude from the search. By default, the entire forest is scanned.
- Exclusions String[]
- Specifies the OUs approved by IT to be excluded. You can provide OUs by canonical name or distinguishedName.
- ExtendedForestInformation IDictionary
- Allows providing Forest Information from another command to speed up processing.
- Forest String
- Specifies the target forest. By default, the current forest is used.
- IncludeBlockedObjects SwitchParameter
- Specifies whether to include OUs with blocked inheritance. By default, this is disabled.
- IncludeDomains String[]
- Specifies specific domains to include. By default, the entire forest is scanned.
- IncludeExcludedObjects SwitchParameter
- Specifies whether to show excluded objects. By default, this is disabled.
- IncludeGroupPoliciesForBlockedObjects SwitchParameter
- Specifies whether to include Group Policies for blocked objects. By default, this is disabled.
- OnlyBlockedInheritance SwitchParameter
- Specifies whether to show only OUs with blocked inheritance.