rustdesk-server-container/clientinstall.ps1

17 lines
442 B
PowerShell
Raw Normal View History

2022-11-18 01:13:19 +02:00
$ErrorActionPreference= 'silentlycontinue'
If (!(test-path "c:\temp")) {
New-Item -ItemType Directory -Force -Path "c:\temp"
}
cd c:\temp
If (!(test-path "C:\Program Files\Rustdesk\RustDesk.exe")) {
cd c:\temp
Invoke-WebRequest https://github.com/rustdesk/rustdesk/releases/download/1.1.9/rustdesk-1.1.9-windows_x64.zip -Outfile rustdesk.zip
expand-archive rustdesk.zip
cd rustdesk
start .\rustdesk-1.1.9-putes.exe --silent-install
}