One of my favourite stupid Powershell errors is a spurious ‘$’ like this
$Name = $AdUser.$Name
This seems to pick it up, so I shall probs turn it into a @PSPester test
select-string “[$]..*[.][$]” SomeScript.ps1
One of my favourite stupid Powershell errors is a spurious ‘$’ like this
$Name = $AdUser.$Name
This seems to pick it up, so I shall probs turn it into a @PSPester test
select-string “[$]..*[.][$]” SomeScript.ps1