WARNING: Due to retirement of Technet Script Gallery, migrated to:

https://github.com/zjorz/Public-AD-Scripts/blob/master/Build-Password-Policy-Config-Report.ps1

 

If you need to create a report of all the Password and Account Lockout Policies in your AD forest, then look no further. This script will help you out and produce an HTML report that you can give to e.g. auditors. It will determine all AD domains in the AD forest, and per AD domain it will search for any Password Settings Objects in addition to the Default Domain GPO

More info: