Files
GPOZaurr/Docs/Get-GPOZaurrPermissionRoot.md
T
Przemysław Kłys ecef7a7f16 update docs
2026-05-22 15:50:38 +02:00

3.8 KiB

external help file, Module Name, online version, schema
external help file Module Name online version schema
GPOZaurr-help.xml GPOZaurr https://github.com/EvotecIT/GPOZaurr 2.0.0

Get-GPOZaurrPermissionRoot

SYNOPSIS

Retrieves the root permissions of Group Policy Objects (GPOs) based on specified criteria.

SYNTAX

__AllParameterSets

Get-GPOZaurrPermissionRoot [[-IncludePermissionType] <string[]>] [[-ExcludePermissionType] <string[]>] [[-Forest] <string>] [[-ExcludeDomains] <string[]>] [[-IncludeDomains] <string[]>] [[-ExtendedForestInformation] <IDictionary>] [-SkipNames] [<CommonParameters>]

DESCRIPTION

Retrieves the root permissions of GPOs based on the specified criteria, including filtering by permission types, forest, domains, and more.

EXAMPLES

EXAMPLE 1

PS > Get-GPOZaurrPermissionRoot -IncludePermissionType 'GpoRootCreate' -ExcludePermissionType 'GpoRootOwner' -Forest 'ExampleForest' -IncludeDomains 'Domain1', 'Domain2' -ExtendedForestInformation $ForestInfo -SkipNames

EXAMPLE 2

PS > Get-GPOZaurrPermissionRoot -IncludePermissionType 'GpoRootOwner' -ExcludePermissionType 'GpoRootCreate' -Forest 'AnotherForest' -ExcludeDomains 'Domain3' -SkipNames

PARAMETERS

-ExcludeDomains

Specifies domains to exclude from the search.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases:
Possible values:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-ExcludePermissionType

Specifies the root permission types to exclude from the search.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases:
Possible values: GpoRootCreate, GpoRootOwner

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-ExtendedForestInformation

Provides additional forest information to speed up processing.

Type: IDictionary
Parameter Sets: __AllParameterSets
Aliases:
Possible values:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-Forest

Specifies the target forest. By default, the current forest is used.

Type: String
Parameter Sets: __AllParameterSets
Aliases: ForestName
Possible values:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-IncludeDomains

Specifies domains to include in the search.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases: Domain, Domains
Possible values:

Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-IncludePermissionType

Specifies the root permission types to include in the search.

Type: String[]
Parameter Sets: __AllParameterSets
Aliases:
Possible values: GpoRootCreate, GpoRootOwner

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: True

-SkipNames

Skips processing names during the operation.

Type: SwitchParameter
Parameter Sets: __AllParameterSets
Aliases:
Possible values:

Required: False
Position: named
Default value: False
Accept pipeline input: False
Accept wildcard characters: True

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

  • None

OUTPUTS

  • None
  • None