Files
GPOZaurr/Examples/Example-02-RemoveEmptyAndUnlinkedGPOs.ps1
T
Przemysław Kłys 2107d52eed Updates to examples
2020-04-21 09:10:48 +02:00

5 lines
219 B
PowerShell

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