/build/static/layout/Breadcrumb_cap_w.png

Scripting Shutdown

Hello-


I have a question about scripting shutdown.  I have a label created with about 90 PC's we want shut down every night.  We currently use a separate product for this (PSTools).  I'm wondering if I schedule the default script of Shutdown a Windows PC and apply it to the shutdown label if this will accomplish what I'm after?

I've read some things to where if the PC is already off, when the PC is turned on the next day, the script will try to run and shut it right back down?  

I only want it to shut down PC's that are on, and those that are alread off, just ignore.  Can anyone point me in the right direction so I can accomplish this through KACE?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: sdnbtech1 11 years ago
Fourth Degree Green Belt
1

I just run a batch file through a script.  If a machine is off in the label, it does not run it the next time it is turned on.  Though I don't run it on a schedule, I usually run it from KACE after working on a group of machines.

cd\
shutdown /s

Comments:
  • OK thanks. And it looks like that's what Kace actually runs, we just want to schedule it to get all PC's off at the end of the day. I just don't want PC's to turn right back off once they get turned on in the morning by the user. Thanks for the response. - airricks 11 years ago
  • If you are concerned, I would test out the scheduling feature with a handful of machines already off. Let the script run, once they are all off, turn on the machines that were already off and see what happens. - sdnbtech1 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ