If you go on https://aka.ms/EdgeEnterprise, you can download and deploy the new Edge-Chromium
On this page, you’ve first to choose a channel/build from the first drop-down menu:
Then you’ve to choose for what platform, you need the binary:
And you can hit the download button and/or get the latest policies’ templates.
At work I’ve some requirements for maintaining browsers. I need to know when there’s an update available and what it fixes.
I’m already following what Google, Mozilla and Microsoft (for built-in Edge-Html and IE11) do but the new Edge-Chromium (aka ChrEdge) is another beast.
It appears that the source code of the page https://aka.ms/EdgeEnterprise contains some JSON data used to build the above drop-down menu and help select the channel, build, platform to be downloaded.
This JSON data much more data than what appears in the GUI.
I’ve built some helper functions to extract and expose all this data from the blob that is JSON formatted in HTML .
It requires PowerShell 6.x or greater because the code uses the -AsHashtable switch from the ConvertFrom-Json cmdlet.
After this core function named Get-MSEdgeEnterpiseData used to extract the JSON blob and convert it back to real JSON data, I could build the following functions:
- Get-MSEdgeEnterpiseBuild to mimic what the first drop-down menu does,
- Get-MSEdgeEnterpisePlatform to mimic what the 2nd drop-down menu does,
- Get-MSEdgeEnterpiseDownloadInfo to enhance and add metadata about the artifacts to be downloaded
- Get-MSEdgeEnterpisePolicy to retrieve the info about policies templates files
- Get-MSEdgeEnterpiseEdgeUpdateInfo to return info about the Edge Updates (only present in the JSON blob and not exposed in the GUI)
All these functions can be found in the following gist named MSEdgeChromium.ps1
Let’s see it in action!
# Show the version of PowerShell $PSVersionTable # Load the functions by dot-sourcing . ~/Documents/MSEdgeChromium.ps1 # Show what the raw JSON looks like Get-MSEdgeEnterpiseData | fl *
# Show all the builds from the Dev and Stable channels Get-MSEdgeEnterpiseBuild -Channel Stable,Dev
NB: Notice for example the ExpectedExpiryDate and PublishedTime properties that aren’t exposed in the HTML page.
# Show the first 2 builds from the Stable channel for the Windows x64 platform Get-MSEdgeEnterpisePlatform -Channel Stable -Platform 'Windows x64'| Select -Last 2 # Show only the latest version released Get-MSEdgeEnterpisePlatform -Channel Stable -Platform 'Windows x64' -Latest
# Use the Get-MSEdgeEnterpiseDownloadInfo function to # Add the metadata about the artifact to be downloaded Get-MSEdgeEnterpisePlatform -Channel Stable -Latest | Get-MSEdgeEnterpiseDownloadInfo
# Get the latest policies file published and # Use the Get-MSEdgeEnterpiseDownloadInfo function to # Add the metadata about the artifact to be downloaded Get-MSEdgeEnterpisePolicy -Latest | Get-MSEdgeEnterpiseDownloadInfo
# Get the latest Edge Update published and # Use the Get-MSEdgeEnterpiseDownloadInfo function to # Add the metadata about the artifact to be downloaded Get-MSEdgeEnterpisePolicy -Latest | Get-MSEdgeEnterpiseDownloadInfo
NB: This channel named ‘Edge Update’ is hidden and not presented in the web page at all for the moment…