PSScriptAnalyzer
                                
                                 PSScriptAnalyzer copied to clipboard
                                
                                    PSScriptAnalyzer copied to clipboard
                            
                            
                            
                        Download ScriptAnalyzer from PowerShellGallery
Steps to reproduce ------------------ ```PowerShell if (@() -eq $null) { 'true' } else { 'false' } if (@() -ne $null) { 'true' } else { 'false' } Configuration Test {...
Steps to reproduce ------------------ Create a settings file with ```PowerShell @{ Rules = @{ PSUseConsistentWhitespace = @{ Enable = $true CheckOpenBrace = $true CheckInnerBrace = $true } } } ```...
# 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...
**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....
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...
### 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...
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...
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...
**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...
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...