The Invoke-CimMethod works by using a WIM method to reboot the remote system – although, not as flexible as the Restart-Computer cmdlet. An additional prerequisite for the command to work is ...