Do While Loop In Powershell Commands Networking