From 4acf509e2b9928a10c4bff7d2dd7195ef368f63c Mon Sep 17 00:00:00 2001 From: Przemyslaw Klys Date: Tue, 26 May 2020 19:16:32 +0200 Subject: [PATCH] Update --- Examples/Example-20-RemoveOrphanedFoldersSysvol.ps1 | 4 ++++ 1 file changed, 4 insertions(+) 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