Need some scripting help please. - TechRepublic
General discussion
August 11, 2009 at 03:21 PM
gpenunuri

Need some scripting help please.

by gpenunuri . Updated 16 years, 11 months ago

In an effort to conserve energy we are implementing a policy for everyone to power off their PC’s at the end of the day. I am trying to create a script that will ping a computer on the network to determine if it’s powered on. If so, I want it to shutdown the pc using the shutdown.exe. If it’s already off then end the script. I want to add this to the scheduled tasks so that if the computer is off it will just skip the script until the next day.

Thanks in advance for any assistance with this matter.

This discussion is locked

All Comments