mirror of
https://github.com/techahold/rustdeskinstall.git
synced 2025-12-19 15:11:30 +01:00
Create clientinstall.ps1
This commit is contained in:
16
clientinstall.ps1
Normal file
16
clientinstall.ps1
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
$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
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user