A PowerShell module for retrieving available product versions and downloads from the VMware Product Downloads site.
Return the available product downloads list:
Get-VMwareProductListReturn the available product versions and downloads for VMware vSphere:
Get-VMwareProductList -Name "VMware vSphere" | Get-VMwareProductDownloadReturn the available product versions and downloads for the Desktop & End-User Computing category:
Get-VMwareProductList | Where-Object { $_.CategoryMap -eq "desktop_end_user_computing" } | Get-VMwareProductDownloadFind 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 branchto your workstation - Copy the contents of the
srcfolder onto your workstation into the desired PowerShell Module path - Open a Powershell console
- Run
Set-ExecutionPolicyusing the parameter -ExecutionPolicyset toRemoteSignedorBypass - 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