One of the subjects that administrators who are new to PowerShell sometimes have difficulty with is ForEach loops. That being the case, I wanted to take the opportunity to explain how these loops work ...
Most of the time when writing ad-hoc PowerShell scripts, you'll most likely be writing synchronous tasks. These are tasks that run in serial which inherently wait for the previous task to complete ...