Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Restart several servers in parallel, email & verify services

$
0
0

I'm trying to come up with a script to restart several servers that I can list in a txt file. I can't restart them one at a time, as the request is to restart them all at the same time.

Next I need to verify that a couple of services are running

Log the restart time and the time the server is back online (this could just be a ping check or rpc service check)

Last part I have to do is email out the log file of the time info and service status.

I'm not good at coding, and have found some info, but nothing that does this.

Can anyone please help me?

Thank You
Domran


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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