Skip to content

Instantly share code, notes, and snippets.

@brahimmachkouri
Created March 18, 2019 16:37
Show Gist options
  • Save brahimmachkouri/43ddc5b3aab4a38c91731d9cbf4d24c8 to your computer and use it in GitHub Desktop.
Save brahimmachkouri/43ddc5b3aab4a38c91731d9cbf4d24c8 to your computer and use it in GitHub Desktop.
Get the latest version of fusioninventory agent in Powershell
$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