From: Glen Holcomb Date: 2008-12-19T22:58:22+09:00 Subject: Re: can we shut down system through ruby code ? if yes, How? ------=_Part_50532_18036409.1229695586128 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Fri, Dec 19, 2008 at 5:14 AM, Sandeep Gupta wrote: > Can Ruby code be used to automatically shut down a windows machine. > > If yes, how it can be achieved. > > I tried several searches but didn't got anything relevant. > -- > Posted via http://www.ruby-forum.com/. > > Shutting down locally is easy. Remotely is a little trickier but still doable. I have a small application I've written for work that will manage the shutdown and startup of many multiple machines on daily schedules if you are interested. You can populate the local database from AD or by hand and assign machines to whatever groups you want. -Glen -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_50532_18036409.1229695586128--