Looping through data with While and Do-While
Wed Dec 28 2022 01:17:32 GMT+0000 (Coordinated Universal Time)
Saved by @savabeh191
Besides ForEach loops, we can also use While and Do-While loops. A while loop will only run when a condition is met, the Do-While always runs once and as long as the condition is true.
https://lazyadmin.nl/powershell/powershell-script/
Comments