Created
October 4, 2013 13:10
-
-
Save belotn/6825653 to your computer and use it in GitHub Desktop.
GEt List of empty GPO
require module grouppolicy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get-gpo -All |?({ $gpo = get-gporeport -Name $_.DisplayName -ReportType xml; $gpo.GPO.Computer.ExtensionData -eq $null -and $gpo.GPO.User.ExtensionData -eq $null}) | select DisplayName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment