A PowerShell module for retrieving available product versions and downloads from the VMware Product Downloads site.
Return the available product downloads list:
Get-VMwareProductList
Return the available product versions and downloads for VMware vSphere:
Get-VMwareProductList -Name "VMware vSphere" | Get-VMwareProductDownload
Return the available product versions and downloads for the Desktop & End-User Computing category:
Get-VMwareProductList | Where-Object { $_.CategoryMap -eq "desktop_end_user_computing" } | Get-VMwareProductDownload
Find all of the product downloads that don't require you to sign into the download site:
Get-VMwareProductList | Get-VMwareProductDownload | Test-VMwareProductDownload | Where-Object { $_.Result -eq $true }
The module can be downloaded from the GitHub source repository and includes the module in the src
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
main branch
to your workstation - Copy the contents of the
src
folder onto your workstation into the desired PowerShell Module path - Open a Powershell console
- Run
Set-ExecutionPolicy
using the parameter -ExecutionPolicy
set toRemoteSigned
orBypass
- 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.VMware
. To use the module, load it with:
Import-Module -Name ./src/Evergreen.VMware.psd1