Created
March 18, 2019 16:37
-
-
Save brahimmachkouri/43ddc5b3aab4a38c91731d9cbf4d24c8 to your computer and use it in GitHub Desktop.
Get the latest version of fusioninventory agent in Powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$result = (Invoke-WebRequest –Uri "https://github.com/fusioninventory/fusioninventory-agent/releases/latest" -UseBasicParsing).BaseResponse.ResponseUri.AbsolutePath.Split('/')[-1] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment