mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2025-01-13 09:48:17 +01:00
Update _index.en.md
This commit is contained in:
parent
7250bc90ac
commit
ff0ef7d4ba
@ -57,14 +57,14 @@ A simple way to check is using telnet. To test in the Linux terminal type `telne
|
|||||||
|
|
||||||
Your mail server may not be using port 25. Please make sure you are using the correct ports.
|
Your mail server may not be using port 25. Please make sure you are using the correct ports.
|
||||||
|
|
||||||
## Can I deploy RustDesk using powershell?
|
## Can I deploy RustDesk using PowerShell?
|
||||||
Sure, this script can help, replace `youraddress` and `yourkey` with your address and key for your RustDesk Server Pro Address and Key.
|
Sure, this script can help, replace `youraddress` and `yourkey` with your address and key for your RustDesk Server Pro Address and Key.
|
||||||
```ps
|
```ps
|
||||||
$ErrorActionPreference= 'silentlycontinue'
|
$ErrorActionPreference= 'silentlycontinue'
|
||||||
|
|
||||||
$rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustDesk\").Version)
|
$rdver = ((Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RustDesk\").Version)
|
||||||
|
|
||||||
if($rdver -eq "1.2.1")
|
if($rdver -eq "1.2.2")
|
||||||
{
|
{
|
||||||
write-output "RustDesk $rdver is the newest version"
|
write-output "RustDesk $rdver is the newest version"
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ If (!(Test-Path C:\Temp)) {
|
|||||||
|
|
||||||
cd C:\Temp
|
cd C:\Temp
|
||||||
|
|
||||||
powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.1/rustdesk-1.2.1-x86_64.exe" -Outfile "rustdesk.exe"
|
Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe"
|
||||||
Start-Process .\rustdesk.exe --silent-install -wait
|
Start-Process .\rustdesk.exe --silent-install -wait
|
||||||
|
|
||||||
$ServiceName = 'Rustdesk'
|
$ServiceName = 'Rustdesk'
|
||||||
@ -216,6 +216,6 @@ If (!(Test-Path C:\Temp)) {
|
|||||||
|
|
||||||
cd C:\Temp
|
cd C:\Temp
|
||||||
|
|
||||||
powershell Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe"
|
Invoke-WebRequest "https://github.com/rustdesk/rustdesk/releases/download/1.2.2/rustdesk-1.2.2-x86_64.exe" -Outfile "rustdesk.exe"
|
||||||
Start-Process .\rustdesk.exe --silent-install -wait
|
Start-Process .\rustdesk.exe --silent-install -wait
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user