Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>PowerShell ScriptAnalyzer
PowerShell ScriptAnalyzer

PowerShell ScriptAnalyzer

Tore Groneng

|
665 installs
| (3) | Free
Build extension that enable you to run PSScriptAnalyzer.
Get it free

The PowerShell Script Analyzer task

This is the Build/Release extension for PSScriptAnalyzer. With this extension you can execute standard script analyzer rules and also specify custom rules. You can choose to run only one or several rules using the "Rules to Include" parameter. Using the "Rules to Exclude" parameter you can execute all rules except the a single or a collection of rules.

The extension will download the latest PSScriptAnalyzer module from the PowerShellGallery if it is not present on the agent performing the task.

Currently the only mandatory parameter is the path to the folder containing the scripts (.PS1 and .PSM1) files you want to verify.

Example build task

Build task

Example Agent output

output task

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft