The first ScriptAnalyzer release of year 2016 added the ability to run on platforms containing PowerShell versions 3.0 and above. This means that Windows Management Framework (WMF) 5.0 is no longer a dependency to use ScriptAnalyzer.
ScriptAnalyzer v1.4.0 (available in PowerShellGallery), ships with binaries compatible on systems containing PSv3.0/4.0 and PSv5.0 and loads the correct supported version. Rule functionality automatically adapts to underlying PowerShell . For example – Rules that validate PowerShell Classes get triggered only on PSv5.0.
To get additional information, please refer to the release notes for v1.4.0 here:
To download the release, from PowerShellGallery, follow the link:
As a side-note, we have ScriptAnalyzer integration with ISE-Steroids add-on and have published a standalone ScriptAnalyzer ISE add-on too.
And finally, thank you all – “The Community” for your feedback, contributions to code and documentation, rule suggestions, ideas, discussions and everything else.