Remote Shutdown via PowerShell

By |2017-12-08T15:04:49+00:00July 11th, 2011|PowerShell|0 Comments

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

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

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
Give it a try, you can unsubscribe anytime.