I am horribly stuck into a challenge for designing a powershell code to reboot a list of servers from a CSV depending on a Sequence Number.
This is how the CSV looks like with Server Name and its Sequence to be rebooted.
- Servers with same sequence number should be rebooted at a time together followed by a delay and then the Next sequence server to be rebooted.
Ex, ServerA & ServerG are with same sequence number ‘1’ hence to be rebooted together and then ServerD & ServerE since its sequence number is 2…followed by 3 and 4 and 5…
I am seeking for suggestions on how shall I proceed or any bits or piece of code that would help me…
Thanks in Advance _/_