From a6bc0c8c6ff98de5cb4a223d08104be63336ea44 Mon Sep 17 00:00:00 2001 From: Jon Ormond Date: Tue, 1 Aug 2017 18:03:30 -0700 Subject: [PATCH] Fix if -eq typo --- AzureCT/PowerShell/AzureCT/Public/Get-LinkPerformance.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AzureCT/PowerShell/AzureCT/Public/Get-LinkPerformance.ps1 b/AzureCT/PowerShell/AzureCT/Public/Get-LinkPerformance.ps1 index 1ff3fa4..0ab8d29 100644 --- a/AzureCT/PowerShell/AzureCT/Public/Get-LinkPerformance.ps1 +++ b/AzureCT/PowerShell/AzureCT/Public/Get-LinkPerformance.ps1 @@ -123,7 +123,7 @@ $FileArray = "P00", "P01", "P06", "P16", "P17", "P32" $PingDuration = $TestSeconds $LoadDuration = $TestSeconds + 10 - If ($RemoteHostOS="Windows") {$PingPort="3389"} Else {$PingPort="22"} + If ($RemoteHostOS -eq "Windows") {$PingPort="3389"} Else {$PingPort="22"} [String]$HostPort = [string]$RemoteHost + ":" + [String]$PingPort # 3. Clear old run files