< Back
Export-GptPermission
Post
NAME Export-GptPermission
SYNOPSIS
Export the permissions assigned on GPOs
SYNTAX
Export-GptPermission [-Path] <String> [[-Name] <String>] [[-GpoObject] <Object>] [-IncludeInherited] [[-Domain]
<String>] [<CommonParameters>]
DESCRIPTION
Export the permissions assigned on GPOs.
Note: This command is currently fairly slow so give it some time.
PARAMETERS
-Path <String>
The path where to create the export.
Must be an existing folder.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Filter GPOs to process by name.
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-GpoObject <Object>
Specify GPOs to process by object.
Required? false
Position? 3
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-IncludeInherited [<SwitchParameter>]
Include inherited permissions in the export.
By default, only explicit permissiosn are exported.
Note: By default, all GPOs in a windows domain only have explicit permissions set.
This will have little impact in most scenarios.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain to export from.
Required? false
Position? 4
Default value $env:USERDNSDOMAIN
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Export-GptPermission -Path '.'
Exports permissions of all GPOs into the current folder.
RELATED LINKS
SYNOPSIS
Export the permissions assigned on GPOs
SYNTAX
Export-GptPermission [-Path] <String> [[-Name] <String>] [[-GpoObject] <Object>] [-IncludeInherited] [[-Domain]
<String>] [<CommonParameters>]
DESCRIPTION
Export the permissions assigned on GPOs.
Note: This command is currently fairly slow so give it some time.
PARAMETERS
-Path <String>
The path where to create the export.
Must be an existing folder.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Filter GPOs to process by name.
Required? false
Position? 2
Default value *
Accept pipeline input? false
Accept wildcard characters? false
-GpoObject <Object>
Specify GPOs to process by object.
Required? false
Position? 3
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-IncludeInherited [<SwitchParameter>]
Include inherited permissions in the export.
By default, only explicit permissiosn are exported.
Note: By default, all GPOs in a windows domain only have explicit permissions set.
This will have little impact in most scenarios.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Domain <String>
The domain to export from.
Required? false
Position? 4
Default value $env:USERDNSDOMAIN
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Export-GptPermission -Path '.'
Exports permissions of all GPOs into the current folder.
RELATED LINKS