powershell-51-to-7-upgrade
Upgrade Windows PowerShell 5.1 scripts (.ps1/.psm1/.psd1) to cross-platform PowerShell 7.x. Use when the user asks to upgrade PowerShell scripts, move off Windows PowerShell 5.1, migrate WMI to CIM, remove PSSnapins, or make scripts run on PowerShell 7 / pwsh. Covers loose scripts that ship alongside a .NET repo — NOT binary cmdlet/PowerShell-SDK…
Full publisher description
Upgrade Windows PowerShell 5.1 scripts (.ps1/.psm1/.psd1) to cross-platform PowerShell 7.x. Use when the user asks to upgrade PowerShell scripts, move off Windows PowerShell 5.1, migrate WMI to CIM, remove PSSnapins, or make scripts run on PowerShell 7 / pwsh. Covers loose scripts that ship alongside a .NET repo — NOT binary cmdlet/PowerShell-SDK projects (those use the migrating-powershell-sdk lazy skill in the normal .NET version upgrade).
Source details
Read SKILL.md ↗ · Browse skill folder ↗
microsoft/upgrade-agent-plugins
plugins/upgrade-agent/upgrade/dotnet/skills/scenarios/powershell-51-to-7-upgrade/SKILL.mdPinned revision cede9dcfbc09a06f0e63652e64fc7545ce5fe1df
Source checked
Reviewed licence: LicenseRef-Microsoft-Copilot-Modernization-Preview
Repository default at the reviewed revision: Visual Studio development/testing only; preview expiry, confidentiality and no-sharing/distribution restrictions apply. Copilot access has separate terms.
Reviewed publisher revision ↗ · 2026-11-22
This indexed source has a different revision. Verify its applicable terms before use.
This skill page is available in English. Publisher instructions stay in their original language.