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

Hello,
I would like to write some Powershell scripts for mass deployment of the LSAgent in our organization and I would like to be able to always grab the latest version online.
Is there a static URL that always points to the latest installation file I can feed to the Invoke-Webrequest cmdlet?
or any other means I can dynamically construct the latest link? 

1 ACCEPTED SOLUTION
joevano
Engaged Sweeper

Why, yes... yes there is... you can use:

Windows: https://content.lansweeper.com/lsagent-windows/
Mac: https://content.lansweeper.com/lsagent-mac/
Linux: https://content.lansweeper.com/lsagent-linux/

This works great for the latest windows agent:
Invoke-WebRequest -URI https://content.lansweeper.com/lsagent-windows/ -outfile LsAgent-windows.exe

View solution in original post

4 REPLIES 4
joevano
Engaged Sweeper

Why, yes... yes there is... you can use:

Windows: https://content.lansweeper.com/lsagent-windows/
Mac: https://content.lansweeper.com/lsagent-mac/
Linux: https://content.lansweeper.com/lsagent-linux/

This works great for the latest windows agent:
Invoke-WebRequest -URI https://content.lansweeper.com/lsagent-windows/ -outfile LsAgent-windows.exe

maxlieb901
Engaged Sweeper

Well I would like to request lansweeper to provide this.
For now I have some code that does HTML parsing of the change log page but it feels a bit janky.

Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

Hello there!

This is indeed on our customer wishlist but we aren't able to guarantee that this feature will be implemented or provide you with an estimated release date at this time.

Obi_1_Cinobi
Lansweeper Tech Support
Lansweeper Tech Support

Hello there!

Unfortunately, there is no static URL available for the LsAgent clients nor a way to dynamically construct the latest link.