Grabware

Windows · Office & Productivity

PSScriptAnalyzer (PowerShell Module)

PSScriptAnalyzer is a static code checker for Windows PowerShell modules and scripts.

Version 1.25.0 · by Microsoft Corporation

Download

Official site: github.com

About PSScriptAnalyzer (PowerShell Module)

PSScriptAnalyzer is a static code checker for Windows PowerShell modules and scripts. PSScriptAnalyzer checks the quality of Windows PowerShell code by running a set of rules. The rules are based on PowerShell best practices identified by PowerShell Team and the community. It generates DiagnosticResults (errors and warnings) to inform users about potential code defects and suggests possible solutions for improvements.

PSScriptAnalyzer is shipped with a collection of built-in rules that checks various aspects of PowerShell code such as presence of uninitialized variables, usage of PSCredential Type, usage of Invoke-Expression etc. Additional functionalities such as exclude/include specific rules are also supported.

You can pass the following parameters:

* `/core` - Installs the module in the AllUsers scope for PowerShell Core;

* `/desktop` - Installs the module in the AllUsers scope for Windows PowerShell (ie. Desktop Edition);

**NOTE**: This is an automatically updated package. If you find it is out of date by more than a week, please contact the maintainer(s) and let them know the package is no longer updating correctly.

How to install PSScriptAnalyzer (PowerShell Module)

  1. Click Download — the developer's official website opens in a new tab.
  2. Download the latest version there and run it. Choose Custom/Advanced where offered, and skip any bundled extras.
  3. Prefer the command line? With Chocolatey you can install and update it with: choco install psscriptanalyzer-powershell-module
  4. Open PSScriptAnalyzer (PowerShell Module) once it finishes installing.
How to install Windows software with Chocolatey

Frequently asked questions

Is PSScriptAnalyzer (PowerShell Module) free to download?

Yes. The Download button sends you to github.com, the developer's official site, where PSScriptAnalyzer (PowerShell Module) is available to download. Grabware doesn't host or modify any files.

What is the latest version of PSScriptAnalyzer (PowerShell Module)?

The version listed here is 1.25.0, published /Date(1774. The developer's site always has the newest release.

How do I install PSScriptAnalyzer (PowerShell Module) from the command line?

With Chocolatey, run: choco install psscriptanalyzer-powershell-module. This installs it from the official source and keeps it updated.

Is PSScriptAnalyzer (PowerShell Module) safe?

PSScriptAnalyzer (PowerShell Module) downloads directly from the developer. As always, scan the installer with your antivirus and choose Custom setup to skip any bundled extras.

Alternatives to PSScriptAnalyzer (PowerShell Module)

More