From dcb818420ea973547ec8ac3e5c6605d5517a4741 Mon Sep 17 00:00:00 2001 From: Jared Goodwin Date: Sun, 23 Jun 2024 09:23:38 -0700 Subject: [PATCH] Update Install-Remotely.ps1 --- Server/wwwroot/Content/Install-Remotely.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Server/wwwroot/Content/Install-Remotely.ps1 b/Server/wwwroot/Content/Install-Remotely.ps1 index 0a80e83e9..940fb5091 100644 --- a/Server/wwwroot/Content/Install-Remotely.ps1 +++ b/Server/wwwroot/Content/Install-Remotely.ps1 @@ -129,8 +129,9 @@ function Install-Remotely { } if (!$ConnectionInfo) { + $NewDeviceId = [System.Guid]::NewGuid().ToString(); $ConnectionInfo = @{ - DeviceID = (New-Guid).ToString(); + DeviceID = $NewDeviceId; Host = $HostName; OrganizationID = $Organization; ServerVerificationToken = "";