From b2c73479c7507fa5f20f916964a486999b937214 Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Sun, 11 Apr 2021 14:52:55 +0200 Subject: [PATCH] Update example --- Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 b/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 index 0743d16..db827b8 100644 --- a/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 +++ b/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 @@ -1,10 +1,10 @@ Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force # Find broken GPOs -Get-GPOZaurrBroken -Verbose | Format-Table # -IncludeDomains 'ad.evotec.pl' | Format-Table +#Get-GPOZaurrBroken -Verbose | Format-Table # -IncludeDomains 'ad.evotec.pl' | Format-Table # this allows you to process X amount of orphaned folders/files (good for testing) -Remove-GPOZaurrBroken -Verbose -WhatIf -Type AD, SYSVOL -LimitProcessing 1 #-IncludeDomains 'ad.evotec.pl' #-LimitProcessing 2 +Remove-GPOZaurrBroken -Verbose -WhatIf -Type AD -LimitProcessing 10 #-IncludeDomains 'ad.evotec.pl' #-LimitProcessing 2 # this runs for whole SYSVOL and checks things against GPOS -Remove-GPOZaurrBroken -Verbose -IncludeDomains 'ad.evotec.xyz' -BackupPath $Env:UserProfile\Desktop\MyBackup1 -WhatIf -Type AD, SYSVOL \ No newline at end of file +#Remove-GPOZaurrBroken -Verbose -IncludeDomains 'ad.evotec.xyz' -BackupPath $Env:UserProfile\Desktop\MyBackup1 -WhatIf -Type AD, SYSVOL \ No newline at end of file