Skip to main content
PSScriptAnalyzer is a static code checker for PowerShell scripts and modules. It checks script and module code for best-practice violations and common issues.

Files

PSScriptAnalyzer runs on files with the following extensions:
  • .ps1 (PowerShell scripts)
  • .psm1 (PowerShell modules)
  • .psd1 (PowerShell data files / module manifests)

Configuration

You can enable or disable PSScriptAnalyzer in your CodeRabbit configuration (see Tools reference and Configuration reference).