mirror of
https://github.com/techahold/rustdeskinstall.git
synced 2025-12-21 16:11:15 +01:00
Update WindowsAgentAIOInstall.ps1
This commit is contained in:
@@ -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.
|
||||
|
||||
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)) {
|
||||
New-Item -ItemType Directory -Force -Path $env:Temp > null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user