Use Windows PowerShell to monitor the connectivity between a local workstation and System Five on Cloud.  This will test your internet connection.

  • During testing this script and intentionally disconnected or closing the System Five on Cloud.  This will not create a "Connection Failed" result from a close action.
  • You can run this script with or without logging into the cloud environment.
  • Whether you run PowerShell as an administrator or not, the script should run just fine


1. Go to the Windows Start menu and search for "PowerShell"

2. Open Windows PowerShell (Administrator is not required)

3. Copy one of the options in the box below

  • Use this powershell to test the connection to System Five on Cloud
do { $result = Test-NetConnection rdweb.wvd.microsoft.com -Port 443; if ($result.TcpTestSucceeded) { Write-Host "$(Get-Date): Connection succeeded : Interface: $($result.InterfaceAlias); Source IP: $($result.SourceAddress.IPAddress); Remote IP: $($result.RemoteAddress)" -ForegroundColor Green } else { Write-Host "$(Get-Date): Connection failed : Interface: $($result.InterfaceAlias); Source IP: $($result.SourceAddress.IPAddress); Remote IP: $($result.RemoteAddress)" -ForegroundColor Red } Start-Sleep -Seconds 1} while ($true)


  • Use this powershell to test the connection to WindwardPOS Device Manager
do { $result = Test-NetConnection remoterelayhostcore.azurewebsites.net -Port 443; if ($result.TcpTestSucceeded) { Write-Host "$(Get-Date): Connection succeeded : Interface: $($result.InterfaceAlias); Source IP: $($result.SourceAddress.IPAddress); Remote IP: $($result.RemoteAddress)" -ForegroundColor Green } else { Write-Host "$(Get-Date): Connection failed : Interface: $($result.InterfaceAlias); Source IP: $($result.SourceAddress.IPAddress); Remote IP: $($result.RemoteAddress)" -ForegroundColor Red } Start-Sleep -Seconds 1} while ($true)


3. Paste into the PowerShell window using a right click and hit enter to start testing. 

4. The script output should look like the screenshot below.


The results include the following:


DateTimeConnection ResultsNetwork InterfaceSource/Local IPRemote/Cloud IP
DD/MM/YYYYHH:MM:SSSucceed or FailedEthernet or Wifiworkstation IPS5oC IP


You can run this script in the background while users use their computers.  If a "Connection failed" occurs capture the output and paste into the ticket so we have date/time and which endpoint were involved if a CloudOps investigation is required.


Note that if the interface is Interface: Wi-Fi you should connect the computer using a wired ethernet connection.  Wi-Fi connections can break when other devices roam onto the network and cause random disconnections.


What a connection failed will look like

If a network or wifi connection drops or fails.  You should see a red "connection failed" during a network event.