This page contains Rubrik versions so you can programmatically consume this page with Invoke-RestMethod GET:
LatestRubrikGAVersion: 5.3.2-p3-19174
LatestRubrikGAVersionMajor: 5.3.2
LatestRubrikGAVersionMinor: p3-19174
LastUpdated: 07/05/2021
To get the latest version using PowerShell:
$VersionURL = "https://virtuallysober.com/rubrik-latest-ga-versions/"
$VersionContent = Invoke-RestMethod -Uri $VersionURL -Method GET
$VersionMatch = "LatestRubrikGAVersion: (.*?)<br>"
$UpdatedMatch = "LastUpdated: (.*?)<br>"
$LatestVersion = [regex]::match($VersionContent, $VersionMatch).Groups[1].Value
$LastUpdated = [regex]::match($VersionContent, $UpdatedMatch).Groups[1].Value
"LatestVersion: $LatestVersion
LastUpdated: $LastUpdated"