I have this for my code:
get-childitem -Path "location1" -Recurse | where-object {$_.LastWriteTime -lt (get-date).AddDays(-365)} | move-item -destination "NewLocation1"
get-childitem -Path "Location2" -Recurse | where-object {$_.LastWriteTime -lt (get-date).AddDays(-365)} | move-item -destination "NewLocation2"
get-childitem -Path "Location3" -Recurse | where-object {$_.LastWriteTime -lt (get-date).AddDays(-365)} | move-item -destination "NewLocation3"
Real basic question. Does powershell run each task separate are all at once? Will the move from Location2 to NewLocation2 happen after the move to NewLocation1 has finished or does all of this run at once?