The stupid question is the question not asked | |
PerlMonks |
Win32 - Dependant servicesby Smaug (Pilgrim) |
on Oct 21, 2004 at 10:45 UTC ( [id://401117]=perlquestion: print w/replies, xml ) | Need Help?? |
Smaug has asked for the wisdom of the Perl Monks concerning the following question:
Hi all, I am trying to stop and start MSSQL on a windows server. From the usual console I can click on the "Restart" button and it will stop all dependant services and then stop MSSQL - after that it restarts all the services again and starts MSSQL. Great! I need to do this in a Perl script but I can not find a module with a "RestartService" method. I have searched on Google too. Currently I read through the registry and extract the service names and the DependOnService key out and so do it that way. I was wondering if there is a module to do this that might make my code a little more efficient? Thanks yet again in advance!
Back to
Seekers of Perl Wisdom
|
|