If a variable is declared in the Describe
block of a PSPester script, and it is used in a It
block, the PSScriptAnalyzer doesn't recognize the usage of that variable.
How do I have to declare the variable to get rid of the warning, or how do i have to apply the Diagnostics.CodeAnalysis.SuppressMessage
for the PSUseDeclaredVarsMoreThanAssignment
rule to suppress the warning for that single declaration?