tmiller_hockey Posted August 1, 2012 Report post Posted August 1, 2012 Does anyone have a way this can be done easily? Due to rolling blackouts that are coming, we need the ability to shut these machines down ahead of time. My thought was a script package deployed to a collection but if there were some machines already off, when they start back up they'd get shut down. Really need to figure something out with this, my execs are being relentless. Quote Share this post Link to post Share on other sites More sharing options...
Rocket Man Posted August 2, 2012 Report post Posted August 2, 2012 Create a script that checks the time of the PC....point it to the shutdowntool built into windows in the system 32 folder. If a machine is off the evening before and takes the advertisement the next morning it will not shutdown as it will not run the shutdown tool because it is out of the time frame window...surpress the advertisement also so that it remains hidden. So have an advertisement scheduled to shutdown PCs say at 6pm for instance and at 10pm for for example if time>=18 && time <=18.30 then %systemroot%\system32\shutdowntool.exe +++Parameters etc........ end if if time>=22 && time <=22.30 then %systemroot%\system32\shutdowntool.exe +++Parameters etc........ end if You get the gist...the scripting above is just an example which may not work but if you can program a little then im sure you can add onto this to make it work. I would also recommend taking a look at coretech website...they have a nice a little tool for power management Rocket Man Quote Share this post Link to post Share on other sites More sharing options...
tmiller_hockey Posted August 2, 2012 Report post Posted August 2, 2012 Thanks Rocket Man, this would work great for good notice ahead of time but we are probably only going to get about 15 minutes notice before the power goes out. I contacted Dan Ireland who wrote the SCCM Right Click tools and he is going to look into adding that ability into the Right Click tools. Quote Share this post Link to post Share on other sites More sharing options...