A loop is used to repeat one or more commands a certain number of times or while a condition is true. There are a number of ways of generating a loop in PowerShell. These examples show the basic structure of each loop type. 1 .. 10 | foreach-object...