Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

I Need Script for restarting the services automatically.

$
0
0

Hi guys,

For example

1. Before windows Patching login to manually Save all services to txt file using Cmd net start>1.txt) and install the download Patches automatically & once patching completed reboot the server.

2. post patch install Run net start>2.txt for servers

3. Compare services txt before and after reboot run services what are not running after restart.

right now I do it all manually, I need Script for this compare the list and start the service automatically and it has to work both windows 2003 and 2008.

Many thx for any help

SreeM


Regards, Sridharan. M



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>