mirror of
https://github.com/techahold/rustdeskinstall.git
synced 2025-05-12 15:11:11 +02:00
Update WindowsAgentAIOInstall.ps1
This commit is contained in:
parent
eed4e6730f
commit
b16c6de94e
@ -8,18 +8,6 @@ if (-Not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti
|
|||||||
}
|
}
|
||||||
# Replace wanipreg and keyreg with the relevant info for your install. IE wanipreg becomes your rustdesk server IP or DNS and keyreg becomes your public key.
|
# Replace wanipreg and keyreg with the relevant info for your install. IE wanipreg becomes your rustdesk server IP or DNS and keyreg becomes your public key.
|
||||||
|
|
||||||
function OutputIDandPW([String]$rustdesk_id, [String]$rustdesk_pw) {
|
|
||||||
Write-Output("######################################################")
|
|
||||||
Write-Output("# #")
|
|
||||||
Write-Output("# CONNECTION PARAMETERS: #")
|
|
||||||
Write-Output("# #")
|
|
||||||
Write-Output("######################################################")
|
|
||||||
Write-Output("")
|
|
||||||
Write-Output(" RustDesk-ID: $rustdesk_id")
|
|
||||||
Write-Output(" RustDesk-Password: $rustdesk_pw")
|
|
||||||
Write-Output("")
|
|
||||||
}
|
|
||||||
|
|
||||||
If (!(Test-Path $env:Temp)) {
|
If (!(Test-Path $env:Temp)) {
|
||||||
New-Item -ItemType Directory -Force -Path $env:Temp > null
|
New-Item -ItemType Directory -Force -Path $env:Temp > null
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user