… of course you can do this by clicking around, but I found that using PowerShell is a lot easier in a large environment:
1 |
Get-ADOrganizationalUnit -Filter * | Get-GPInheritance | Where-Object {$_.GPOInheritanceBlocked} |
… of course you can do this by clicking around, but I found that using PowerShell is a lot easier in a large environment:
1 |
Get-ADOrganizationalUnit -Filter * | Get-GPInheritance | Where-Object {$_.GPOInheritanceBlocked} |
thanks…
Get-ADOrganizationalUnit -Filter * | Get-GPInheritance | Where-Object {$_.GPOInheritanceBlocked} | select-object Path | export-csv YESInheritanceOU.csv