I'm presented with an interesting reboot challenge. I've a list of machines that I need to reboot. I can only reboot the machines in a two hour window in the early morning hours when I'm soundly asleep. So far this seems like a simple task. The complicated part? Reboot the machines in chunks of maybe 10,20, or 30. I cannot reboot them all at once.
I'm thinking about getting content and storing that in a variable. I can feed that to a for each and restart computer. The timing, early morning, throws me and so does the chunks of machines.