Skip to main content

Unregister-DMGPPermission

SYNOPSIS​

Removes a registered GP Permission.

SYNTAX​

__AllParameterSets​

Unregister-DMGPPermission [[-PermissionIdentity] <string[]>] [<CommonParameters>]

DESCRIPTION​

Removes a registered GP Permission.

EXAMPLES​

EXAMPLE 1​

Get-DMGPPermission | Unregister-DMGPPermission

Clear all defined configuration.

PARAMETERS​

-PermissionIdentity​

The identity string of a GP permission. This is NOT the user/group assigned permission (Identity property) but instead the unique identifier of the permission setting (PermissionIdentity property).

Type: System.String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: true
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters​

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