function get-chrextinsturl {
param([string]$extId)
if (-not $extId) {
$extId = $args[0]
}
$resultUrl = "https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion=76.0&x=id%3D" + $extId + "%26installsource%3Dondemand%26uc"
write-host -foreground green $resultUrl
start-process -filepath C:\chrlauncher\chrlauncher.exe -ArgumentList $resultUrl
}
Comments