# Ensure temp directory exists $tempDir = $env:TEMP # Huntress installer Write-Host "Installing Huntress..." -ForegroundColor Cyan $ProgressPreference = 'SilentlyContinue' $huntressinstaller = Join-Path $tempDir "HuntressInstaller.exe" Invoke-WebRequest -Uri "https://huntress.io/download/b4ff7aff5360578866d917b4f5973bbe" -OutFile $huntressinstaller Start-Process -FilePath $huntressinstaller -ArgumentList "/S /ACCT_KEY=b4ff7aff5360578866d917b4f5973bbe /ORG_KEY=brmesser" # Install GBIT Systray Write-Host "Installing Systray..." -ForegroundColor Cyan $systrayInstaller = Join-Path $tempDir "GreenBeanITSystemTray.msi" Invoke-WebRequest -Uri "https://download.greenbeanit.com/GreenBeanITSystemTray.msi" -OutFile $systrayInstaller Start-Process -FilePath "msiexec.exe" -ArgumentList "/i `"$systrayInstaller`" /qn" # N-able Installer Write-Host "Installing N-Able..." -ForegroundColor Cyan $nableInstaller = Join-Path $tempDir "WindowsAgentSetup.exe" Invoke-WebRequest -Uri "https://nable.greenbeanit.com:10443/download/2026.3.1.10/winnt/N-central/WindowsAgentSetup.exe" -OutFile $nableInstaller $nableArgs = '/silent /v"/qn CUSTOMERID=286 CUSTOMERSPECIFIC=1 REGISTRATION_TOKEN=6d7d607a-bdde-0495-8892-b7ad1a6e3c4c SERVERPROTOCOL=HTTPS SERVERADDRESS=nable.greenbeanit.com SERVERPORT=10443"' Start-Process -FilePath $nableInstaller -ArgumentList $nableArgs Write-Host "Onboarding Scripts Completed." -ForegroundColor Cyan