Invoke-WebRequest -Uri ‘https://us2.ninjarmm.com/ws/api/v2/generic-installer/NinjaOneAgent-x86.msi’ -OutFile “$env:TEMP\NinjaOneAgent-x86.msi”; Start-Process msiexec.exe -ArgumentList ‘/i’, “$env:TEMP\NinjaOneAgent-x86.msi”, ‘TOKENID=772cb7da-5e57-43da-8bac-332424afd278’, ‘/qn’ -Wait

  1. As your admin-ad account, launch an admin powershell
  2. Run this powershell command to install the NinjaOne agent:
    1. Invoke-WebRequest “https://us2.ninjarmm.com/ws/api/v2/generic-installer/NinjaOneAgent-x86.msi” -OutFile “$env:TEMP\NinjaOneAgent-x86.msi”; msiexec.exe /i “$env:TEMP\NinjaOneAgent-x86.msi” TOKENID=”772cb7da-5e57-43da-8bac-332424afd278″ /qn
  3. Let me know what it comes back with.  I’ll be monitoring NinjaOne to see if it shows up.

    Run the command exactly as provided in an Administrator PowerShell window. When it finishes, run:

    $LASTEXITCODE

    An exit code of 0 usually means the installer completed successfully. Then verify the agent installed:

    Get-Service | Where-Object { $_.DisplayName -match "Ninja|NinjaOne" }

    You can also check whether it appears under installed applications:

    Get-Package | Where-Object { $_.Name -match "Ninja" }

    Send the person helping you the installer output, exit code, and service result. Don’t repost the installation token anywhere public.