Summary: Learn how to easily check your Windows PowerShell scripts against various rules.
How can I quickly check my Windows PowerShell scripts with preconfigured rules?
Download the latest version of the Script Analyzer from the Microsoft PowerShell Gallery: PSScriptAnalyzer 1.2.0.
It snaps into the Windows PowerShell ISE is a good free tool.