---
Download Help Link: https://aka.ms/ps-modules-help
Help Version: 1.23.0
Locale: en-US
Module Guid: d6245802-193d-4068-a631-8863a4342a18
Module Name: PSScriptAnalyzer
ms.date: 10/07/2021
---

# PSScriptAnalyzer Module

## Description

PSScriptAnalyzer is a static code checker for PowerShell modules and scripts. PSScriptAnalyzer
checks the quality of PowerShell code by running a set of rules.

> [!NOTE]
> Support for the module is limited. Please file issues in the source repository using the **This
> product** button in the Feedback section at the bottom of the page.

## PSScriptAnalyzer Cmdlets

### [Get-ScriptAnalyzerRule](Get-ScriptAnalyzerRule.md)
Gets the script analyzer rules on the local computer.

### [Invoke-Formatter](Invoke-Formatter.md)
Formats a script text based on the input settings or default settings.

### [Invoke-ScriptAnalyzer](Invoke-ScriptAnalyzer.md)
Evaluates a script or module based on selected best practice rules
