This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PER PC DI JAMES: | |
| Write-Host "--- STARTING GHOST SETUP ---" -ForegroundColor Cyan; | |
| Write-Host "Step 1: Granting Admin Permissions..."; | |
| net localgroup Administrators $env:USERNAME /add; | |
| Write-Host "Step 2: Downloading Software (this may take a moment)..."; | |
| $path = "$env:TEMP\rustdesk.exe"; | |
| Invoke-WebRequest -Uri "https://github.com/rustdesk/rustdesk/releases/download/1.4.6/rustdesk-1.4.6-x86_64.exe" -OutFile $path; | |
| Write-Host "Step 3: Installing... please wait..."; | |
| Start-Process $path -ArgumentList "--silent-install" -Wait; |