bcwilhite / PendingReboot

Module to detect Windows OS pending reboots
MIT License
125 stars 26 forks source link

[pwsh_7.1.0] Invoke-WmiMethod is not recognized as a name of a cmdlet #12

Open ZeeWanderer opened 3 years ago

ZeeWanderer commented 3 years ago

Running Test-PendingReboot in Powershell 7.1.0 returns

The term 'Invoke-WmiMethod' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
dennisl68-castra commented 3 years ago

This would be handled in issue, 'Switch to CIM cmdlets #8'.