Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Get latest Firefox versions
# JSON that provide details on Firefox versions
$uriSource = "https://product-details.mozilla.org/1.0/firefox_versions.json"
# Read the JSON and convert to a PowerShell object
$firefoxVersions = (Invoke-WebRequest -uri $uriSource).Content | ConvertFrom-Json
# Read versions via properties. For example, find the current Firefox release:
$firefoxVersions.LATEST_FIREFOX_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment