Nevergreen: My first Powershell module

Nevergreen is a Powershell module that returns the latest version and download links for various Windows applications. It can be used as an alternative to Aaron Parker’s (and others) excellent Evergreen module.

Evergreen uses API queries to obtain its data whereas this module is more focussed on web scraping. This is inherently more prone to breaking when websites are changed, hence the name! The Evergreen project wants to avoid web scraping wherever possible, so this is a home for all those other apps where there is no other option. Expect frequent breakages - if you do come across issues, contact me or create an issue on Github, or if you’re feeling up to it, fix it yourself and create a pull request!

This has been designed to complement, rather than compete with Evergreen - it uses a similar syntax so that you can use both modules together in your own automated application packaging / deployment / image creation workflows!

Installation

To install the module from the Powershell Gallery:

Install-Module -Name Nevergreen

Usage

List all supported apps:

Find-NevergreenApp

List all Adobe and Microsoft apps (accepts arrays and uses a RegEx match):

Find-NevergreenApp -Name Adobe,Microsoft

Get version and download links for Microsoft Power BI Desktop (all platforms):

Get-NevergreenApp -Name MicrosoftPowerBIDesktop

Get version and download links for Microsoft Power BI Desktop (64-bit only):

Get-NevergreenApp -Name MicrosoftPowerBIDesktop | Where-Object {$_.Architecture -eq 'x64'}

Combine both commands to get all results!

Find-NevergreenApp | Get-NevergreenApp

View the module on the Powershell Gallery

View the repository on Github

Comments