Files
GPOZaurr/Examples/Example-02-RemoveEmptyAndUnlinkedGPOs.ps1
T
Przemysław Kłys 3fce54e75a Update
2020-04-07 20:26:28 +02:00

5 lines
220 B
PowerShell

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