Removing lingering VMware PowerShell modules
Problem
After removing VMware PowerShell modules with Get-Module | Where Name -like VMware* | Uninstall-Module
, VMware cmdlets are lingering around:
Administrator in ~
❯ get-module
ModuleType Version PreRelease Name ExportedCommands
---------- ------- ---------- ---- ----------------
Script 0.0 Copy-PubKey
Manifest 7.0.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-Item, Clear-It…
Manifest 7.0.0.0 Microsoft.PowerShell.Utility {Add-Member, Add-Type, Clear-Variable, Compare-Ob…
Script 2.3.6 PSReadLine {Get-PSReadLineKeyHandler, Get-PSReadLineOption, …
Administrator in ~
❯ get-vmhost
WARNING: Please consider joining the VMware Customer Experience Improvement Program, so you can help us make PowerCLI a better product. You can join using the following command:
Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true
VMware's Customer Experience Improvement Program ("CEIP") provides VMware with information that enables VMware to improve its products and services, to fix problems, and to advise you on how best to deploy and use our products. As part of the CEIP, VMware collects technical information about your organization’s use of VMware products and services on a regular basis in association with your organization’s VMware license key(s). This information does not personally identify any individual.
For more details: type "help about_ceip" to see the related help article.
To disable this warning and set your preference use the following command and restart PowerShell:
Set-PowerCLIConfiguration -Scope User -ParticipateInCEIP $true or $false.
Get-VMHost: 6/8/2025 12:32:42 PM Get-VMHost You are not currently connected to any servers. Please connect first using a Connect cmdlet.
Solution
Use the Get-InstalledModule
cmdlet instead of the Get-Module
cmdlet:
Administrator in ~
❯ get-installedmodule | where Name -like VMware*
Version Name Repository Description
------- ---- ---------- -----------
13.3.0.24145081 VMware.CloudServices PSGallery PowerShell module that contains command …
13.3.0.24145081 VMware.DeployAutomation PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.ImageBuilder PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.PowerCLI PSGallery This Windows PowerShell module contains …
13.3.0.24145081 VMware.PowerCLI.Sdk PSGallery Product agnostic types definitions for t…
13.3.0.24145081 VMware.PowerCLI.Sdk.Types PSGallery Types definitions for the VMware.PowerCL…
13.3.0.24145081 VMware.PowerCLI.VCenter PSGallery Modules for automating and managing VMwa…
13.3.0.24145081 VMware.PowerCLI.VCenter.Types.Appl… PSGallery Types definitions for the VMware.PowerCL…
13.3.0.24145081 VMware.PowerCLI.VCenter.Types.Cert… PSGallery Types definitions for the VMware.PowerCL…
13.3.0.24145081 VMware.Sdk.Nsx.Policy PSGallery This PowerShell module contains cmdlets …
1.0.2099.24145081 VMware.Sdk.Runtime PSGallery This PowerShell module contains PowerShe…
13.3.0.24145081 VMware.Sdk.Srm PSGallery This PowerShell module contains cmdlets …
13.3.0.24145081 VMware.Sdk.Vcf.CloudBuilder PSGallery This PowerShell module contains cmdlets …
13.3.0.24145081 VMware.Sdk.Vcf.SddcManager PSGallery This PowerShell module contains cmdlets …
13.3.0.24145081 VMware.Sdk.Vr PSGallery This PowerShell module contains cmdlets …
13.3.2099.24145081 VMware.Sdk.vSphere PSGallery This PowerShell module is a parent modul…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Access PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Health PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Infra… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Local… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Loggi… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Netwo… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Recov… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Suppo… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.System PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Tls PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Appliance.Update PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Cis PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Cis.Tagging PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Content PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.ContentLibrary PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Esx.Hcl PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Esx.Hosts PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.Esx.Settings PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.SnapService PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.VAPI.Metadata PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Authent… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Authori… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.CertMan… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Consump… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Content PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Datasto… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Deploym… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Guest PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.HVC PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Identity PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Invento… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.ISO PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.LCM PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Namespa… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Namespa… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.OVF PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Services PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Storage PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.SystemC… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Tagging PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Topology PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Trusted… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.VCHA PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.Vm PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vCenter.VmTempl… PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphere.vStats PSGallery This PowerShell module contains PowerShe…
8.0.2099.24145081 VMware.Sdk.vSphereRuntime PSGallery This PowerShell module contains PowerShe…
8.3.0.24145081 VMware.Vim PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Cis.Core PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Cloud PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Common PSGallery This PowerShell module contains function…
13.3.0.24145081 VMware.VimAutomation.Core PSGallery This PowerShell module contains Windows …
13.3.0.24145081 VMware.VimAutomation.Hcx PSGallery This Windows PowerShell module contains …
13.3.0.24145081 VMware.VimAutomation.License PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Nsxt PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Sdk PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Security PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Srm PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Storage PSGallery This Windows PowerShell module contains …
1.6.0.0 VMware.VimAutomation.StorageUtility PSGallery This Windows PowerShell module contains …
13.3.0.24145081 VMware.VimAutomation.Vds PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.Vmc PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.vROps PSGallery This PowerShell module contains PowerCLI…
13.3.0.24145081 VMware.VimAutomation.WorkloadManag… PSGallery PowerShell commands for automation of wo…
13.3.0.24145081 VMware.VumAutomation PSGallery This PowerShell module contains PowerCLI…
Remove all of these modules:
Administrator in ~
❯ get-installedmodule | where Name -like VMware* | uninstall-module -force