Microsoft’s PowerShell Script Analyzer (PSScriptAnalyzer) module allows you to perform static code analysis on PowerShell scripts. Author Recent Posts Timothy Warner is a Microsoft Cloud and Datacenter Management Most Valuable Professional (MVP) who is based in Nashville, TN. Check out his Azure and Windows Server video training at Pluralsight, and feel free to reach out to Tim via Twitter. Static code analysis refers to reviewing and refactoring code without actually running it.