Files
GPOZaurr/Examples/Example-02-RemoveEmptyAndUnlinkedGPOs.ps1
T
Przemyslaw Klys ee9effa4f1 Update examples
2020-10-29 11:35:33 +01:00

4 lines
201 B
PowerShell

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