Skip to content

Instantly share code, notes, and snippets.

@jakerobinson
Created May 10, 2017 15:30
Show Gist options
  • Save jakerobinson/c6846946a7e01c54dc1be58b9a953a05 to your computer and use it in GitHub Desktop.
Save jakerobinson/c6846946a7e01c54dc1be58b9a953a05 to your computer and use it in GitHub Desktop.
Download PowerCLI Modules as ZIP from powershellgallery.com
$PowerCLIModules = "vmware.vimautomation.common","vmware.vimautomation.sdk", "vmware.vimautomation.core"
$PowerCLIModules | ForEach-Object {Invoke-WebRequest "https://www.powershellgallery.com/api/v2/package/$($_)/" -Outfile "$($env:USERPROFILE)\Desktop\$($_).zip"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment