Hello.
For example I got 2 or more servers which I have to reboot in a certain order.
Server 1
then
Server 2
...
What I would like to do is:
Server 1 has been rebooted and is up & running. The script now checks if service A, service B, and so on is running. If all these conditions are set, the script should go on, reboots server 2. If all conditions are set, the script will reboot server
3, ...
Whats the best way to do this with powershell?
BR