Advertisement
pushrbx

get-chrextinsturl

Feb 9th, 2020
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function get-chrextinsturl {
  2.     param([string]$extId)
  3.     if (-not $extId) {
  4.         $extId = $args[0]
  5.     }
  6.     $resultUrl = "https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&prodversion=76.0&x=id%3D" + $extId + "%26installsource%3Dondemand%26uc"
  7.     write-host -foreground green $resultUrl
  8.     start-process -filepath C:\chrlauncher\chrlauncher.exe -ArgumentList $resultUrl
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement