say I have a list of 100 servers.
if I’m doing something small (say a test-path)
$servers=(get-content servers.txt) foreach ($s in $servers){ write-host $s test-path \$s\whatever }
Then I just let it run.
How would I tell powershell to grab X servers do the loop, and then grab the next x until completed.
I feel like the answer should be simple, but I’m just not seeing it.