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
RuleName Severity FileName Line Message
-------- -------- -------- ---- -------
PSUseApprovedVerbs Warning test.ps1 2 The cmdlet 'global:Invoke-Test' uses an unapproved verb.
PSReservedCmdletChar Warning test.ps1 2 The cmdlet 'global:Invoke-Test' uses a reserved char in its name.
Apparently the analyser considers global: as part of the verb, not the scope prefix.
The text was updated successfully, but these errors were encountered:
That's a good catch - I think I can see where this has cropped in to the PSUseApprovedVerbs rule and will have a better look at the PSReservedCmdletChar rule a little later on
The script like
causes two false positives
Apparently the analyser considers
global:
as part of the verb, not the scope prefix.The text was updated successfully, but these errors were encountered: