Triaging Powershell Analyzer Findings

Decide whether a PSScriptAnalyzer PSUseCompatibleCommands / PSUseCompatibleTypes finding is a real PowerShell 5.1 → 7.x break or one of four measured false-positive classes: a function defined elsewhere in the estate, an abbreviated parameter prefix such as '-fore', a symbol the compatibility profile dropped during generation, or a provider dynamic parameter such as 'Set-ItemProperty -Type'. Each class has a mechanical test that settles it. Use during the powershell-5.1-to-7-upgrade scenario's execution stage, before editing any file the analyzer flagged.

Microsoft Updated 195k repo stars
image

File contents

microsoft/upgrade-agent-plugins commit 6f12278d4c

Frequently asked questions

npx get-skill add microsoft/triaging-powershell-analyzer-findings