Error with positional parameter analysis

Analyzer 1.4 is still noting positional parameter use in some circumstances even when none are used. Example: $ClientContext = New-Object Microsoft.SharePoint.Client.CleintContext($uri) I would e...

Id #1231 | Release: None | Updated: Nov 3 at 3:29 PM by JBinMN | Created: Nov 3 at 3:29 PM by JBinMN

Flag lines that contain Write-Host.

Using Write-Host is almost never correct. Script Analyzer should flag on Write-Host usage and give us the ability to toggle the rule off and on.

Id #1218 | Release: None | Updated: Nov 3 at 3:19 PM by JBinMN | Created: Sep 23 at 3:02 PM by stestino

Flag lines that contain backticks.

Using backticks ( ` ) for line continuation is almost never correct. Script Analyzer should flag on line continuation backtick usage and give us the ability to toggle the rule off and on.

Id #1217 | Release: None | Updated: Nov 3 at 3:19 PM by JBinMN | Created: Sep 23 at 2:53 PM by stestino

Error with positional parameters and aliases

Lines that contain aliases aren't triggered for using positional parameters. For instance, this only is flagged for the alias: function test{ dir c:\$a }

Id #1210 | Release: None | Updated: Sep 12 at 2:14 AM by MikeShepard | Created: Sep 12 at 2:13 AM by MikeShepard

Rule Suggestion: Warning on using existing name for functions

Highlight any functions that use the same name as a built-in function or alias. Use of such functions is dangerous as it would override the behaviour of any existing code that expect the functiona...

Id #1194 | Release: None | Updated: Sep 20 at 10:49 PM by Martin77s | Created: Aug 14 at 3:44 PM by reidcs

Configurable Options for Cmdlet Alias Rule

I suggest that the cmdlet alias rule be configurable. It is somewhat generally accepted to use aliases for the -Object cmdlets such as Where-Object and Select-Object, so options to configure cmdlet...

Id #1156 | Release: None | Updated: Sep 12 at 1:39 AM by MikeShepard | Created: Jun 5 at 2:43 PM by mattmcnabb

Rule Suggestion: Prefer single quotes for non-expanding strings

Single quotes are preferred for string literals without expansion. It would be helpful for Script Analyzer to detect instances of strings and here-strings that are double quoted and do not encapsu...

Id #1135 | Release: None | Updated: Sep 20 at 10:49 PM by Martin77s | Created: May 30 at 3:28 PM by alexbchalmers

Change the tab during a analysis can return a wrong result

Change the tab during a analysis ( ~15 seconds) can return a wrong result (display). See attachment.

Id #1133 | Release: None | Updated: Jul 2 at 1:22 AM by amokhtare | Created: May 21 at 9:12 AM by LaurentDardenne

Change the tab triggers an unnecessary analysis

Change the tab triggers an unnecessary analysis, although the source code is not changed.

Id #1130 | Release: None | Updated: Jun 25 at 5:24 AM by Jialiang | Created: May 17 at 10:35 AM by LaurentDardenne

Correct the advice given for the Empty catch block rule

In suggesting a "possible solution" for the empty catch block problem, the solution offered is not a pattern that should be encouraged. The suggested fix would place random string data into the Pow...

Id #1129 | Release: None | Updated: May 21 at 1:22 PM by LaurentDardenne | Created: May 15 at 9:11 PM by lanatmwan