Notices: This section not yet converted to new layout. Download stats are rolling back out.

VMware.PowerCLI (Install)

This package skips automatic verification:

Requires PowerShell 5

This package was approved by moderator gep13 on 8/26/2019.

To use choco:// protocol URLs, install (unofficial) choco:// Protocol support


###VMware PowerCLI is a command-line and scripting tool built on Windows PowerShell, and provides more than 600 cmdlets for managing and automating vSphere, vCloud, vRealize Operations Manager, vSAN, NSX-T, VMware Cloud on AWS, and VMware Horizon environments.



Click here to Patreon-ize the package maintainer.


To install VMware.PowerCLI (Install), run the following command from the command line or from PowerShell:

C:\> choco install vmware-powercli-psmodule

To upgrade VMware.PowerCLI (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade vmware-powercli-psmodule


  • tools\chocolateyinstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageName = 'vmware-powercli-psmodule'
    $toolsDir     = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $shortcutName = 'VMware.PowerCLI.lnk'
    $exe          = "$ENV:SystemRoot\System32\WindowsPowerShell\v1.0\powershell.exe"
    $PSversion = $PSVersionTable.PSVersion.Major
    if ($PSversion -lt "5")
        Write-Warning "  ** PowerShell < v5 detected."
    	Write-Warning "  ** $packageName installs via the PowerShell Gallery and thus requires PowerShell v5+."
    	Write-Warning "  ** If PowerShell v5 was installed as a dependency, you need to reboot and reinstall this package."
    if (Get-Module -ListAvailable -Name VMware.PowerCLI -ErrorAction SilentlyContinue){
    # Will fail if packageVersion is a revised version not matching module version, i.e. x.x.x.0020180101
         Update-Module "VMware.PowerCLI" -RequiredVersion "$ENV:packageVersion" -Force
       } else {   
         Get-PackageProvider -Name NuGet -Force
         Install-Module -Name VMware.PowerCLI -Scope AllUsers -RequiredVersion $ENV:packageVersion -AllowClobber -Force
    Install-ChocolateyShortcut -shortcutFilePath "$ENV:Public\Desktop\$shortcutName" -targetPath $exe -Arguments '-noe -c "Import-Module VMware.PowerCLI"' -WorkingDirectory "$ENV:SystemDrive\" -Description 'VMware.PowerCLI' -IconLocation "$toolsDir\powercli.ico" -RunAsAdmin
    Install-ChocolateyShortcut -shortcutFilePath "$ENV:ProgramData\Microsoft\Windows\Start Menu\Programs\$shortcutName" -targetPath $exe -Arguments '-noe -c "Import-Module VMware.PowerCLI"' -WorkingDirectory "$ENV:SystemDrive\" -Description 'VMware.PowerCLI' -IconLocation "$toolsDir\powercli.ico" -RunAsAdmin
  • tools\chocolateyuninstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    $packageName  = 'vmware-powercli-psmodule'
    $shortcutName = 'VMware.PowerCLI.lnk'
    Get-InstalledModule -Name "VMware.*" |  Uninstall-Module -AllVersions -Force
    Remove-Item "$ENV:Public\Desktop\$shortcutName" -Force -ErrorAction SilentlyContinue
    Remove-Item "$ENV:ProgramData\Microsoft\Windows\Start Menu\Programs\$shortcutName" -Force -ErrorAction SilentlyContinue
  • tools\powercli.ico

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.


Package Maintainer(s)

Software Author(s)

  • VMware


Copyright (c) 2019 VMware, Inc. All rights reserved.


Release Notes

Version History

Version Downloads Last updated Status
VMware.PowerCLI (Install) 7273 Sunday, June 23, 2019 approved
VMware.PowerCLI (Install) 14316 Sunday, March 31, 2019 approved
VMware.PowerCLI (Install) 2427 Tuesday, March 12, 2019 approved
VMware.PowerCLI (Install) 6478 Wednesday, January 2, 2019 approved
VMware.PowerCLI (Install) 4600 Friday, August 31, 2018 approved
VMware.PowerCLI (Install) 581 Friday, August 24, 2018 approved
VMware.PowerCLI (Install) 575 Friday, June 8, 2018 approved
VMware.PowerCLI (Install) 504 Thursday, April 19, 2018 approved
VMware.PowerCLI (Install) 681 Friday, February 2, 2018 approved

Discussion for the VMware.PowerCLI (Install) Package

Ground rules:

  • This discussion is only about VMware.PowerCLI (Install) and the VMware.PowerCLI (Install) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or VMware.PowerCLI (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus uses cookies to enhance the user experience of the site.