PSScriptAnalyzer icon indicating copy to clipboard operation
PSScriptAnalyzer copied to clipboard

Download ScriptAnalyzer from PowerShellGallery

Results 238 PSScriptAnalyzer issues
Sort by recently updated
recently updated
newest added

Steps to reproduce ------------------ ```PowerShell if (@() -eq $null) { 'true' } else { 'false' } if (@() -ne $null) { 'true' } else { 'false' } Configuration Test {...

Issue - Bug
Up-for-Grabs
Area - DSC
Area - Configuration

Steps to reproduce ------------------ Create a settings file with ```PowerShell @{ Rules = @{ PSUseConsistentWhitespace = @{ Enable = $true CheckOpenBrace = $true CheckInnerBrace = $true } } } ```...

Issue - Bug
Area - Formatter

# Summary of the new feature As a user I want to be able to discover what rules are defined in a PSD1 file, especially those that are included with...

Issue - Enhancement
Up-for-Grabs
Area - Configuration

**Summary of the new feature** In practice, `catch [System.Management.Automation.RuntimeException] { ... }` behaves the same as an unqualified catch block. That is, it catches any exception. See details in https://github.com/PowerShell/PowerShell/issues/16392....

Up-for-Grabs

Before submitting a bug report: - Make sure you are able to repro it on the latest released version - Perform a quick search for existing issues to check if...

Issue - Bug
Area - Formatter
Need Repro Info

### Prerequisites - [X] I have written a descriptive issue title. - [X] I have searched all [issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure it has not already been reported. - [X] I have...

Issue - Bug
Up-for-Grabs
Area - Formatter

Before submitting a bug report: - Make sure you are able to repro it on the latest released version - Perform a quick search for existing issues to check if...

Issue - Enhancement
Up-for-Grabs
Area - Rules

Hi, I am trying to track down an issue where the Powershell code formatter is run against a psm1 file but does not seem to do anything at all. I...

Area - Formatter

**Summary of the new feature** I'd like to be able to run a command such that if I implicitly return values as well as have a `return` statement that it...

Issue - Enhancement
Up-for-Grabs
Area - Rules

The following cmdlets have the listed parameters that support wildcards. However, those parameters to do have the `[SupportsWildcards()]` attribute. This makes discovery of wildcard support impossible. PlatyPS cannot create accurate...

Issue - Enhancement
Area - Engine