While Loop In Powershell Script Commands