mirror of
https://github.com/EvotecIT/GPOZaurr.git
synced 2026-07-27 20:29:11 +00:00
7 lines
440 B
PowerShell
7 lines
440 B
PowerShell
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 -IncludeDomains 'ad.evotec.xyz'
|
|
|
|
# this runs for whole SYSVOL and checks things against GPOS
|
|
Remove-GPOZaurrOrphanedSysvolFolders -Verbose -IncludeDomains 'ad.evotec.xyz' -BackupPath $Env:UserProfile\Desktop\MyBackup1 #-WhatIf |