Giter Club home page Giter Club logo

chromeofflineinstaller's Introduction

Tools

made-with-powershell License: Unlicense

ChromeDownloader.ps1

SYNOPSIS

ChromeDownloader: Obtains information about the current version of Chrome for different hardware and operating systems

Inspired by COI by lyonna, this tool provides a command-line interface to download or collect information about various versions of the Google Chrome offline installation packages. The goal of this project was to provide access to the still maintained v109 builds for Windows Server 2012 and 2012r2 for updating devices that are not connected to the Internet. Google has yet to provide a means to fulfill this need so here we are.

DESCRIPTION

Obtains information about the current version of Chrome for different hardware and operating systems, optionally downloading, exporting as JSON, XML or displaying information.

Note: While you can use any value for the OS version, unsupported operating systems do not receive security updates and the versions available for download from Google are not secure and are not supported. Likewise, not all operating systems support both a 32-bit and 64-bit version.

SYNTAX

.\ChromeDownloader.ps1 [[-platform] <String>] [[-osversion] <String>] [[-bits] <String>]
    [[-disposition] <String>] [-release <String>] [-type <String>] [-download] [-overwrite] 
    [-rename] [-jsonsave] [-xmlsave] [-prefix <String>] [<CommonParameters>]

USAGE

Please don't run code you don't understand. While this is free, functional, and works in all my testing, it may not work for you. There is no guarantee or support provided outside of the issues page. If you don't know what to do, find a trusted advisor to help you set up your environment.

  1. Open PowerShell on your device. (Start, PowerShell)
  2. Download ChromeDownloader.ps1: curl.exe -O https://raw.githubusercontent.com/shawnkhall/Tools/main/ChromeDownloader.ps1
  3. Run any of the examples. Try it with: ./ChromeDownloader.ps1 win 11 64 -download -t msi or help ./ChromeDownloader.ps1 -examples

If you have modified the script or removed the code signature, you may need to unblock the script with:

Unblock-File ChromeDownloader.ps1

EXAMPLES

Display the latest 64-bit build of Chrome for Windows 11

.\ChromeDownloader.ps1 win 64 

Download the latest 64-bit build of Chrome for Windows 11

.\ChromeDownloader.ps1 win 64 -download

Download the latest 64-bit MSI stable release of Chrome for Windows 10/11 and save it with the version, bit-type and release type in the filename.

.\ChromeDownloader.ps1 win cur 64 -t msi -download -prefix 'Chrome-%v_%b_%r'

Displays information about the latest 64-bit build of Chrome for Windows Server 2012

.\ChromeDownloader.ps1 win 64 -os 2012 -do info

Download the latest 64-bit beta build of Chrome for Windows 10 and inserts the bit-type in the file name

.\ChromeDownloader.ps1 win 10 64 -download -release beta -rename

Display the latest build of Chrome for macOS

.\ChromeDownloader.ps1 mac

Download the current Windows Group Policy administrative templates for Chrome

.\ChromeDownloader.ps1 -do url -t adm -download

Download the current build of Chrome x64 for Windows 11 to a file under C:/Browsers, named to include the version of Chrome, the platform and OS version, the bit-type and release type, as well as creating both an XML and a JSON file with details about the download beside the binary, and returns details via the pipeline.

.\ChromeDownloader.ps1 -download -jsonsave -xmlsave -prefix 'C:/Browsers/Chrome-%v_%p%osv_%b_%r'

Display information about the latest 64-bit releases of Chrome for Windows 2008r2, 2012 and 10, formatting the results in a table.

$commonParams = @{ platform = 'win'; bits = 64; do = 'pipeline' };
'2008r2','2012','10' | ForEach-Object {.\ChromeDownloader.ps1  @commonParams -osversion $_} | Select platform,osversion,version,url | Format-Table

chromeofflineinstaller's People

Contributors

shawnkhall avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.