This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Uninstalls VMware Tools using the MSI installer method. | |
| .DESCRIPTION | |
| This script modifies the VMware Tools MSI database to bypass environment checks | |
| that prevent uninstallation on non-VMware systems, then performs an uninstall. | |
| .PARAMETER Uninstall | |
| Actually perform the uninstall. Without this switch, the script runs in dry-run mode. | |
| .PARAMETER Force | |
| Bypass the confirmation prompt and proceed with uninstallation automatically. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Removes VMware Tools from a Windows system. | |
| .DESCRIPTION | |
| This script removes VMware Tools from a Windows system by deleting registry entries, | |
| filesystem folders, and stopping/removing associated services. | |
| .PARAMETER Force | |
| Bypass the confirmation prompt and proceed with removal automatically. | |
| .EXAMPLE | |
| .\Remove-VMwareTools.ps1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Uninstalls and removes VMware Tools from remote Windows systems. | |
| .DESCRIPTION | |
| This script uses PowerShell remoting to execute VMware Tools cleanup on one or more | |
| remote computers. It first attempts to uninstall VMware Tools using the MSI installer | |
| method, then performs comprehensive cleanup by removing registry entries, filesystem | |
| folders, services, and devices. | |
| WARNING: If running this script on a system that has been migrated to a different |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .SYNOPSIS | |
| Uninstalls and removes VMware Tools from a Windows system. | |
| .DESCRIPTION | |
| This script first attempts to uninstall VMware Tools using the MSI installer method, | |
| even if the system is no longer running on VMware. It then performs a comprehensive | |
| cleanup by removing registry entries, filesystem folders, services, and devices. | |
| WARNING: If running this script on a system that has been migrated to a different | |
| hypervisor (e.g., Proxmox with VirtIO drivers), removing VMware storage drivers may |