Looks like the version source might be deprecated soon for this script. Going to omahaproxy.appspot.com says April 2023. I see references elsewhere to a previous deprecation in March 2023.
https://omahaproxy.appspot.com/all.json?os=win&channel=stable' | %{$_versions.version
could be changed to
https://versionhistory.googleapis.com/v1/chrome/platforms/win/channels/stable/versions/all/releases?filter=endtime>YYYY-MM-DDThh:mm:ssZ' | %{$.releases.version
where endtime is anything in the future. Tested with today+30 days.