DanGough / Nevergreen

This module is an alternative to Evergreen, and allows you to find the latest version and download URL for various Windows apps. Evergreen uses API queries to obtain its data whereas this module is more focussed on web scraping. This is more prone to breaking when websites are changed, hence the name.
The Unlicense
71 stars 16 forks source link

Add Office Deployment Tool #58

Closed ThatDraggyCodes closed 2 months ago

ThatDraggyCodes commented 3 months ago

Addresses Issue #48

Add the Office Deployment Tool from Microsoft.

This implementation uses the JS-Object ("JSON") from a scriptblock that contains the download informations, converts it to an object and accesses the relevant members. An alternative would be to scrape the HTML for the same information.

Tested with Powershell 5 (5.1.19041.4170) and Powershell 7.4.1.

Example usage and result:

> Get-NevergreenApp -Name OfficeDeploymentTool

Name         : Office Deployment Tool
Architecture : Multi
Type         : Exe
Version      : 16.0.17328.20162
Uri          : https://download.microsoft.com/download/2/7/A/27AF1BE6-DD20-4CB4-B154-EBAB8A7D4A7E/officedeploymenttool_17328-20162.exe
DanGough commented 2 months ago

Thanks!