PSScriptAnalyzer is a static code checker for PowerShell modules and scripts. PSScriptAnalyzer checks the quality of 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.

Features

  • .NET Core 3.1.424 SDK or newer patch release
  • Optionally but recommended for development: Visual Studio
  • Add/remove resource strings
  • PSScriptAnalyzer ships with a collection of built-in rules
  • Presence of uninitialized variables
  • Use of PSCredential type

Project Samples

Project Activity

See All Activity >

Categories

Code Formatters

License

MIT License

Follow PSScriptAnalyzer

PSScriptAnalyzer Web Site

Other Useful Business Software
Save Up to 91% on Cloud Compute With Spot VMs Icon
Save Up to 91% on Cloud Compute With Spot VMs

Automatic sustained-use discounts. One free VM per month. No negotiation needed.

Run batch jobs at 60-91% off with Spot VMs. Long-running workloads get automatic discounts with sustained use.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PSScriptAnalyzer!

Additional Project Details

Operating Systems

Windows

Programming Language

C#

Related Categories

C# Code Formatters

Registered

2023-04-25