Deployment via PDQ
This guide will cover the necessary steps to deploy the SenseOn Universal Sensor using PDQ.
Recommended: Deploy via the SenseOn Install Command
PDQ Deploy can run the SenseOn install command directly as a PowerShell step. This always installs the latest published version of the Universal Sensor and requires no files to be pre-staged on the PDQ server.
Step 1: Copy your install command
- Log in to SenseOn.
- Navigate to Settings > Universal Sensor.
- Copy the Windows install command.
Optional: Verify the install script checksum
If your security policy requires checksum verification before executing remote scripts, verify the script on your admin workstation before creating the package:
# Step 1: Download the script Invoke-WebRequest -UseBasicParsing -Uri "https://<your-tenant>.senseon.io/install.ps1" -OutFile install.ps1 # Step 2: Verify the checksum (compare against the value shown in Settings > Universal Sensor) Get-FileHash install.ps1 -Algorithm SHA256If the hash matches, the script is genuine. In Step 2 below, replace the
Invoke-WebRequest ... | Invoke-Expressionline with the contents of the verifiedinstall.ps1, keeping the$env:SENSEON_INSTALLER_KEYline in place.
Step 2: Create the PDQ package
- In PDQ Deploy, create a new package and name it SenseOn.
- Add a PowerShell step (rather than a File Copy + Install combination).
- Set the PowerShell step content to:
$ErrorActionPreference = "Stop"
$env:SENSEON_INSTALLER_KEY = "<your-installer-key>"
Invoke-WebRequest -UseBasicParsing -Uri "https://<your-tenant>.senseon.io/install.ps1" | Invoke-Expression
- Set the step to run as Local System so the install has the privileges it needs.
Step 3: Deploy
Right-click the package and select Deploy Once, then choose your target systems (typically an Active Directory group or OU). Target hosts will appear in Digital Estate > Devices within a minute or two of the script completing.