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
Already Paying for an RMM? Get 50% Off Splashtop AEM Icon
Already Paying for an RMM? Get 50% Off Splashtop AEM

Switch to Splashtop AEM and save up to 50% in your first year

Automated OS and third-party patching for Windows and macOS, CVE prioritization with AI patch summaries, and built-in remote control that also supports Linux. Qualifying organizations switching from another RMM get up to 50% off year one.
Get Started
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