Closed
Description
Repro
Clone https://github.com/TravisEz13/PSScriptAnalyzerExamples.git
open the repo in powershell
Invoke-ScriptAnalyzer .\pipeExample.ps1
Expected
no errors
Actual
Rule Name Severity File Name Line Message
--------- -------- --------- ---- -------
PSUseCmdletCorrectly Warning pipeExampl 2 Cmdlet 'write-verbose' may be used incorrectly. Please
e.ps1 check that all mandatory parameters are supplied.