PsShutdown

I prefer to use PsShutdown instead of the shudown command for remote shutdown/reboot tasks because the syntax is easier and it’s more advanced. You can easily shutdown multiple computers with the PsShutdown tool. PsShutdown is a free command-line tool from Sysinternals that works on local and remote systems. You don’t need to install software on any remote systems against which you want to run the tool.

Download link: http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx

PsShutdown examples:

Remote lock: psshutdown \\pcname -l
Remote log-off: psshutdown \\pcname -o
Remote reboot: psshutdown \\pcname -r
Remote shutdown: psshutdown \\pcname -k

A more advanced example:
Schedule a shutdown of multiple workstations at a specific time with a message.

Message at the client side:

As you can see it’s very easy to use!

Advertisements
  1. Shane
    May 17, 2013 at 1:30 am

    for windows server 2008 instances you may want to throw in the -v 0 command so it doesn’t show the count down dialog box, otherwise interactive services detection will log an event instance due to the change in 2008 that disallows services from interacting with the desktop sessions.

    Also an undocumented switch parameter that is not listed in usage response is -accepteula. (At least from what I saw and found useful)

  2. July 20, 2013 at 2:17 pm

    First off I want to say fantastic blog! I had a quick question that I’d like to ask if you do not mind. I was interested to find out how you center yourself and clear your thoughts prior to writing. I have had a tough time clearing my thoughts in getting my ideas out. I truly do enjoy writing but it just seems like the first 10 to 15 minutes are usually lost simply just trying to figure out how to begin. Any suggestions or hints? Thanks!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: