PSScriptAnalyzer - PowerShell Script Analyzer

suggest change

Introduction

PSScriptAnalyzer is a static code checker for PowerShell modules and scripts. It checks code by running rules based on PowerShell best practices identified by the PowerShell team and the community. It generates DiagnosticRecord results (errors and warnings) about potential defects and suggests improvements. Install-Module is provided by PowerShellGet.

PS> Install-Module -Name PSScriptAnalyzer

Syntax

  1. Get-ScriptAnalyzerRule [-CustomizedRulePath <string[]>] [-Name <string[]>] [-Severity <string[]>] [<CommonParameters>]
  2. Invoke-ScriptAnalyzer [-Path] <string> [-CustomizedRulePath <string[]>] [-ExcludeRule <string[]>] [-IncludeRule <string[]>] [-Severity <string[]>] [-Recurse] [-SuppressedOnly] [<CommonParameters>]

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents