# rmt.k5csh.com — MeshAgent installer bootstrap $meshUrl = 'https://mc.k5csh.com/meshagents?id=4&meshid=SyGiVkEZa1glGMl7kuhgl9Wkkp19DBDtePbQ0eWsZaE6UIQNoFF0yzgWhFwKkyLa&installflags=0' $isAdmin = ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator) if (-not $isAdmin) { Start-Process powershell -Verb RunAs -ArgumentList '-NoProfile -ExecutionPolicy Bypass -Command "irm https://rmt.k5csh.com | iex"' return } [Net.ServicePointManager]::SecurityProtocol = 3072 $exe = Join-Path $env:TEMP 'meshagent.exe' (New-Object Net.WebClient).DownloadFile($meshUrl, $exe) Start-Process $exe -ArgumentList '-fullinstall' -Wait