Handling Removed Snapins

Handle PowerShell snap-ins (Add-PSSnapin / Get-PSSnapin / Remove-PSSnapin) that do not exist in PowerShell 7.x. Provides the decision tree between module replacement, implicit remoting into a Windows PowerShell endpoint, and the Windows PowerShell compatibility layer. Use during the powershell-5.1-to-7-upgrade scenario for the PSSnapin blocker bucket. For the Exchange snap-in specifically, see migrating-exchange-management-shell.

Microsoft Updated 195k repo stars
image

File contents

microsoft/upgrade-agent-plugins commit a176894f52

Frequently asked questions

npx get-skill add microsoft/handling-removed-snapins