Skip to content

Commit dcb8184

Browse files
authored
Update Install-Remotely.ps1
1 parent f8f3aef commit dcb8184

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Server/wwwroot/Content/Install-Remotely.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ function Install-Remotely {
129129
}
130130

131131
if (!$ConnectionInfo) {
132+
$NewDeviceId = [System.Guid]::NewGuid().ToString();
132133
$ConnectionInfo = @{
133-
DeviceID = (New-Guid).ToString();
134+
DeviceID = $NewDeviceId;
134135
Host = $HostName;
135136
OrganizationID = $Organization;
136137
ServerVerificationToken = "";

0 commit comments

Comments
 (0)