You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add [OutputType(typeof(Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.RuleInfo))] to Microsoft.Windows.PowerShell.ScriptAnalyzer.Commands.GetScriptAnalyzerRuleCommand
What is the latest version of PSScriptAnalyzer at the point of writing
1.17.1
The text was updated successfully, but these errors were encountered:
Summary of the new feature
Get-ScriptAnalyzerRule
should declareOutputType
. If only just soGet-ScriptAnalyzerRule | % comm<tab>
works :)Proposed technical implementation details (optional)
Add
[OutputType(typeof(Microsoft.Windows.PowerShell.ScriptAnalyzer.Generic.RuleInfo))]
toMicrosoft.Windows.PowerShell.ScriptAnalyzer.Commands.GetScriptAnalyzerRuleCommand
What is the latest version of PSScriptAnalyzer at the point of writing
1.17.1
The text was updated successfully, but these errors were encountered: