Do While Loop In Powershell Execution