Find all Organizational Units with GPO Inheritance blocked

… of course you can do this by clicking around, but I found that using PowerShell is a lot easier in a large environment:

One comment

  1. mike says:

    thanks…

    Get-ADOrganizationalUnit -Filter * | Get-GPInheritance | Where-Object {$_.GPOInheritanceBlocked} | select-object Path | export-csv YESInheritanceOU.csv

Leave a Reply

Your email address will not be published. Required fields are marked *