From 2c4d77eb4aec8a7a6106faafd8b5313daafef9e2 Mon Sep 17 00:00:00 2001 From: Adrien Siffermann Date: Wed, 3 Jan 2018 14:46:02 +0100 Subject: [PATCH] Change public IP address website --- Common/PowerShell3/VstsAzureHelpers/HelperFunctions.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/PowerShell3/VstsAzureHelpers/HelperFunctions.ps1 b/Common/PowerShell3/VstsAzureHelpers/HelperFunctions.ps1 index 6b9b7c9..4e2bdf4 100644 --- a/Common/PowerShell3/VstsAzureHelpers/HelperFunctions.ps1 +++ b/Common/PowerShell3/VstsAzureHelpers/HelperFunctions.ps1 @@ -1,5 +1,5 @@ function Get-AgentStartIPAddress { - $data = (Invoke-WebRequest -Uri "whatismyip.org" -UseBasicParsing -Verbose).Content + $data = (Invoke-WebRequest -Uri "checkip.dyndns.org" -UseBasicParsing -Verbose).Content $ipRegex = "(?
((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))" if ($data -Match $ipRegex) {