Do While Loop In Powershell Script To Connect