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 6f12278 12.4 KB Updated 2.7k repo stars

File contents

microsoft/upgrade-agent-plugins/tree/main/plugins/upgrade-agent/upgrade/dotnet/skills/lazy/pwsh/triaging-powershell-analyzer-findings commit 6f12278d4c

Frequently asked questions

npx skillmds@latest add microsoft/triaging-powershell-analyzer-findings