diff --git a/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 b/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 index dd55d73..43f5b76 100644 --- a/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 +++ b/Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 @@ -1,3 +1,7 @@ Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force +# this allows you to process X amount of orphaned folders/files (good for testing) +Remove-GPOZaurrOrphanedSysvolFolders -Verbose -WhatIf -LimitProcessing 2 + +# this runs for whole SYSVOL and checks things against GPOS Remove-GPOZaurrOrphanedSysvolFolders -Verbose -WhatIf \ No newline at end of file