This question is for Windows workstations (XP/Vista)

I know I can use shutdown /i and PSShutdown, and I even found a Powershell script that will reboot all the computers in an OU.

However,

Here's what I'm looking for:

  1. The ability to use an input file for a list of computer names to be rebooted/shutdown
  2. The same basic functionality that shutdown or PSShutdown provides
  3. The ability to log the results

It seems that #3 is the toughest part to find a solution for...

Anyone able to help??

link|improve this question

What precisely are you looking for in the logged results? Simply "Success!" or "Fail!" is what I'm imagining but I don't want to assume anything. – WesleyDavid Sep 25 '09 at 2:51
Ideal would be Success/Failure of actually rebooting the list of computers but I'd settle for Success/Failure of whether or not the computers can even be contacted to schedule the shutdown. – TheCleaner Sep 25 '09 at 13:22
Of course, PSShutdown can do #1 and #2, but you are correct in your observations that #3 is the sticky wicket. =) – WesleyDavid Sep 25 '09 at 15:37
feedback

1 Answer

up vote 2 down vote accepted

At the risk of being voted down, I'd write a PowerShell script to read in a list of machines to shut down, run the PSShutdown against each machine, and record (and optionally parse) the feedback from PSShutdown in a log file.

link|improve this answer
That would be fine, if I knew how to do that :) – TheCleaner Sep 25 '09 at 13:23
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.