Files
GPOZaurr/Examples/Example-02-RemoveEmptyAndUnlinkedGPOs.ps1
T
Przemysław Kłys 82e0e16019 Updates
2020-04-12 10:31:49 +02:00

5 lines
209 B
PowerShell

Import-Module "$PSScriptRoot\..\GPoZaurr.psd1" -Force
# Remove GPOS
$BackupPath = "$Env:UserProfile\Desktop\GPO"
Remove-GPOZaurr -Type Empty -BackupPath $BackupPath -BackupDated -LimitProcessing 2 -Verbose