Update Install-Remotely.ps1

This commit is contained in:
Jared Goodwin 2024-06-23 09:23:38 -07:00 committed by GitHub
parent f8f3aefc0b
commit dcb818420e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = "";