Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell get all unlinked gpo

Get-GPO -All | Where-Object { $_ | Get-GPOReport -ReportType XML | Select-String -NotMatch "<LinksTo>" } | Select-Object DisplayName 
Source by adamtheautomator.com #
 
PREVIOUS NEXT
Tagged: #powershell #unlinked #gpo
ADD COMMENT
Topic
Name
4+2 =