helios-remote/scripts/install.ps1

21 lines
815 B
PowerShell

# Helios Remote - Install Script
# Downloads and starts the helios-remote Windows client
#
# IMPORTANT: Windows Defender may block the executable.
# If the download or launch fails, disable real-time protection first (run as Admin):
# Set-MpPreference -DisableRealtimeMonitoring $true
# Re-enable after the client is running:
# Set-MpPreference -DisableRealtimeMonitoring $false
$ErrorActionPreference = "Stop"
$url = "https://agent-helios.me/downloads/helios-remote/helios-remote-client-windows.exe"
$dest = "$env:USERPROFILE\Desktop\Helios Remote.exe"
Write-Host "Downloading helios-remote client..."
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
$wc = New-Object System.Net.WebClient
$wc.DownloadFile($url, $dest)
Write-Host "Starting..."
Start-Process -FilePath $dest