From 7b2f2c69be63def0ecf9f0ba549e87572d78c2ac Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Wed, 11 Nov 2020 17:12:22 +0100 Subject: [PATCH] Update --- Public/Add-GPOZaurrPermission.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Public/Add-GPOZaurrPermission.ps1 b/Public/Add-GPOZaurrPermission.ps1 index 4f93be2..8724ecb 100644 --- a/Public/Add-GPOZaurrPermission.ps1 +++ b/Public/Add-GPOZaurrPermission.ps1 @@ -1,5 +1,5 @@ function Add-GPOZaurrPermission { - [cmdletBinding(SupportsShouldProcess, DefaultParameterSetName = 'GPOGUID')] + [cmdletBinding(SupportsShouldProcess, DefaultParameterSetName = 'GPOName')] param( [Parameter(ParameterSetName = 'GPOName', Mandatory)][string] $GPOName, [Parameter(ParameterSetName = 'GPOGUID', Mandatory)][alias('GUID', 'GPOID')][string] $GPOGuid, @@ -53,7 +53,6 @@ } $Splat['ExcludeDomains'] = $ExcludeDomains $Splat['ExtendedForestInformation'] = $ExtendedForestInformation - #$Splat['ExcludePermissionType'] = $ExcludePermissionType $Splat['IncludePermissionType'] = $PermissionType $Splat['SkipWellKnown'] = $SkipWellKnown.IsPresent $Splat['SkipAdministrative'] = $SkipAdministrative.IsPresent