Command
Get-GPOZaurrPermissionRoot
Retrieves the root permissions of Group Policy Objects (GPOs) based on specified criteria.
Syntax
Get-GPOZaurrPermissionRoot
[[-ExcludeDomains] <String[]>]
[[-ExcludePermissionType] <GpoRootCreate| GpoRootOwner>]
[[-ExtendedForestInformation] <IDictionary>]
[[-Forest] <String>]
[[-IncludeDomains] <String[]>]
[[-IncludePermissionType] <GpoRootCreate| GpoRootOwner>]
[-SkipNames]
[<CommonParameters>]#Parameter set:
All Parameter SetsDescription
Retrieves the root permissions of GPOs based on the specified criteria, including filtering by permission types, forest, domains, and more.
Examples
Example 1
Get-GPOZaurrPermissionRoot -IncludePermissionType 'GpoRootCreate' -ExcludePermissionType 'GpoRootOwner' -Forest 'ExampleForest' -IncludeDomains 'Domain1', 'Domain2' -ExtendedForestInformation $ForestInfo -SkipNamesExample 2
Get-GPOZaurrPermissionRoot -IncludePermissionType 'GpoRootOwner' -ExcludePermissionType 'GpoRootCreate' -Forest 'AnotherForest' -ExcludeDomains 'Domain3' -SkipNamesParameters
- -ExcludeDomains String[]
- Specifies domains to exclude from the search.
- -ExcludePermissionType String[]
- Specifies the root permission types to exclude from the search.
- Possible values:
GpoRootCreate,GpoRootOwner - -ExtendedForestInformation IDictionary
- Provides additional forest information to speed up processing.
- -Forest String
- Specifies the target forest. By default, the current forest is used.
- -IncludeDomains String[]
- Specifies domains to include in the search.
- -IncludePermissionType String[]
- Specifies the root permission types to include in the search.
- Possible values:
GpoRootCreate,GpoRootOwner - -SkipNames SwitchParameter
- Skips processing names during the operation.
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.