From 33693a488078dbc86c39586ab11705d94abe0570 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Sun, 31 May 2020 16:03:53 +0200 Subject: [PATCH] Update --- Examples/Example-16-KeepPermissions.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Examples/Example-16-KeepPermissions.ps1 b/Examples/Example-16-KeepPermissions.ps1 index 9028f57..5c5198b 100644 --- a/Examples/Example-16-KeepPermissions.ps1 +++ b/Examples/Example-16-KeepPermissions.ps1 @@ -1,7 +1,7 @@ Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force Import-Module 'C:\Support\GitHub\PSSharedGoods\PSSharedGoods.psd1' -Force -<# + # Apply permissions for ROOT Invoke-GPOZaurrPermission -Verbose -Linked Root -IncludeDomains 'ad.evotec.xyz' { Set-GPOOwner -Type Administrative @@ -19,7 +19,6 @@ Invoke-GPOZaurrPermission -Verbose -Linked DomainControllers -IncludeDomains 'ad Add-GPOPermission -Type AuthenticatedUsers -IncludePermissionType GpoRead -PermitType Allow } -WhatIf -#> # Apply permissions for Regions, with exclusions for those 4 groups $Exclude = @( 'CN=ITR01_AD Admins,OU=Security,OU=Groups,OU=Production,DC=ad,DC=evotec,DC=xyz'