[There's a reason that Yoda is the unofficial mascot of SBS.  Size indeed matters not.] A little command line comes in handy - THE OFFICIAL BLOG OF THE SBS "DIVA"
Wed, Aug 16 2006 22:14 bradley

A little command line comes in handy

Shoot.. I'm trying to RWW to the office and my desktop isn't responding.... it obviously needs to be rebooted.  But I'm here at home...so how can I reboot it?

Okay so I can get on the server, right?  And from there I can enter in the following command:

shutdown -r -m \\nameofcomputer

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/shutdown.mspx?mfr=true

So what do those flags mean?

-r = reboot the computer as I don't want to merely shutdown... I want to reboot the box.

and obviously -m = a flag for the name of the machine name

..and voila... RWW is back in business....

Filed under:

# re: A little command line comes in handy

Thursday, August 17, 2006 7:22 AM by Roy

Don't forget -f to force the PC to shut down (if there are open applications) and -t xxx where xxx is the number of seconds to wait until shutting down (default is 30 seconds)

# re: A little command line comes in handy

Thursday, August 17, 2006 7:47 AM by Bill

For those of us who can't always remember the syntax or want to record the reason for the reboot in the Event Log try this.

SHUTDOWN -I

Gives you a GUI that lets you select the system, or systems, to work on. All options are available.

# Take it a step further???

Thursday, August 17, 2006 6:31 PM by Greener Pastures

So today, Susan mentioned a nice little scenerio to reboot her desktop, while away from the office. ...

# re: A little command line comes in handy

Friday, August 18, 2006 2:20 AM by Jeff Dempsey

Hi Susan,

I wrote about that in a response to your blog, and if it was me that got you to use that handy command, I feel honored that you would use it because of me.

It is a token payback for all of the wonderful advice you've given me.

If it was someone else, I still thank you,

Jeff