Migrating Wmi To Cim

Migrate removed WMI cmdlets and type accelerators to CIM in PowerShell 7.x: Get-WmiObject → Get-CimInstance, Invoke-WmiMethod → Invoke-CimMethod, Remove-WmiObject → Remove-CimInstance, Register-WmiEvent → Register-CimIndicationEvent, and [wmi]/[wmiclass]/[wmisearcher] accelerators. Use during the powershell-5.1-to-7-upgrade scenario for the WMI blocker bucket.

Microsoft Updated 195k repo stars
image

File contents

microsoft/upgrade-agent-plugins commit 344ae218f2

Frequently asked questions

npx get-skill add microsoft/migrating-wmi-to-cim