The Evergreen module is published to the PowerShell Gallery and can be found here: Evergreen. The module can be installed from the gallery with:
Install-Module -Name EvergreenImport-Module -Name Evergreen
If you have installed a previous version of the module from the gallery, you can install the latest update with Update-Module
and the -Force
parameter:
Update-Module -Name Evergreen -Force
The module can be downloaded from the GitHub source repository and includes the module in the Evergreen
folder. The folder needs to be installed into one of your PowerShell Module Paths. To see the full list of available PowerShell Module paths, use $env:PSModulePath.split(';')
in a PowerShell console.
Common PowerShell module paths include:
Current User: %USERPROFILE%\Documents\WindowsPowerShell\Modules\
All Users: %ProgramFiles%\WindowsPowerShell\Modules\
OneDrive: $env:OneDrive\Documents\WindowsPowerShell\Modules\
To install from the repository
Download the master branch
to your workstation
Copy the contents of the Evergreen folder onto your workstation into the desired PowerShell Module path
Open a Powershell console with the Run as Administrator option
Run Set-ExecutionPolicy
using the parameter RemoteSigned
or Bypass
Unblock the files with Get-ChildItem -Path <path to module> -Recurse | Unblock-File
Once installation is complete, you can validate that the module exists by running Get-Module -ListAvailable Evergreen
. To use the module, load it with:
Import-Module Evergreen