How To Write A Loop In Powershell