Discussion Locked

Need some scripting help please.

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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.

1 reply

by Member 25348569

But it just depends if you can write any vbscript. WMI will allow you to ping and shut down the computer.

Let me know if you want a bit more.

This discussion is closed to new replies.