How to write a powershell script. For this, I used the for loop in This exhaustive W...