Installing and configuring the Lens Workstation Agent
Download the latest agent from here.
Install the agent. This can either be done in two ways:
Silently. Here is the command in PowerShell:
POWERSHELLStart-Process "lens-setup.exe" -ArgumentList "/VERYSILENT /WAIT" -Wait
Via the install wizard
Create a strong password or API key and save this for later
Configure the API key for the agent. This should be the same for all Lens Workstations in the site. Here is a Powershell script to do this. Ensure you change line 1 to contain your new API key.
POWERSHELL$ApiKey = "hello" Start-Process "C:\Program Files (x86)\7fivefive\Lens Workstation Agent\Bin\ws-agent.exe" -argumentlist "-new-api-key=`"$ApiKey`"" -wait
Restart the Lens Workstation Agent service
POWERSHELLRestart-Service LensWsAgent