Remote Reboot via PowerShell

2017-12-08T14:55:22+00:00 August 19th, 2011|PowerShell|

Below is PowerShell command which can be run to force a reboot on a remote machine:

(gwmi win32_operatingsystem -ComputerName ComputerName -cred (get-credential)).Win32Shutdown(6)