10-02-2023 08:10 PM - last edited on 04-01-2024 02:52 PM by Mercedes_O
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?
Solved! Go to Solution.
10-24-2023 03:25 AM - edited 10-24-2023 03:26 AM
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
10-24-2023 03:25 AM - edited 10-24-2023 03:26 AM
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
10-03-2023 10:38 AM
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.
10-03-2023 10:41 AM
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.
10-03-2023 08:22 AM
Hello there!
Unfortunately, there is no static URL available for the LsAgent clients nor a way to dynamically construct the latest link.
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now