→ Having trouble accessing our new support portal or creating a ticket? Please notify our team here

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
DonnyBuckman
Engaged Sweeper

We use a Powershell script to install the LsAgent across the enterprise. This works great. It downloads the newest version of the agent and runs it fine. Now we are trying to use the same process to upgrade LsAgent to the newest version 11.1.10.0. Here is the line in our Powershell script that does the work.

 

Invoke-WebRequest -Uri "https://content.lansweeper.com/LsAgent-windows/" -OutFile $DownloadDestFile; Start-Process -FilePath $DownloadDestFile -ArgumentList "--mode unattended --server obscureserver.com --agentkey obscureagentkey" -Wait
 
Does anyone know if the argument list is different for upgrades? I do not seen any errors in our event logs when the script runs, it just fails to upgrade.
 
Thank you,
 
Donny Buckman
0 REPLIES 0

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now