Dismount-Tools Command | Vmware PowerCLI Reference

Dismount-Tools

This cmdlet dismounts the VMware Tools installer CD from one or more virtual machines operating systems specified by the VM and Guest parameters. To specify a server different from the default one, use the Server parameter. The virtual machines must be powered on.

Syntax

Dismount-Tools
[ [-Server ] < VIServer[] > ]
[-ProgressAction < ActionPreference > ]
[-VM < VirtualMachine[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Server VIServer[] 1
  • wildcards
Specifies the vCenter Server systems on which the search for virtual machine names passed by the VM parameter is performed. If no value is given to this parameter, the search for the virtual machine names is performed on the default server.
optional ProgressAction ActionPreference named
optional VM VirtualMachine[] named
  • pipeline
  • wildcards
Specifies the virtual machines from which you want to remove the VMware Tools.
Dismount-Tools
[-Guest < VMGuest[] > ]
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Guest VMGuest[] named
  • pipeline
Specifies the guest operating systems from which you want to remove the VMware Tools.
optional ProgressAction ActionPreference named

Output

Examples

Example 1

Dismount-Tools VM

Dismounts the VMware Tools from the VM virtual machine. The virtual machine must be powered on.

Example 2

Get-VMGuest VM | Dismount-Tools

Dismounts the VMware Tools from the virtual machine specified by its guest operating system. The virtual machine must be powered on.

Related Commands

Tools

This cmdlet dismounts the VMware Tools installer CD.

This cmdlet mounts the VMware Tools CD installer as a CD-ROM on the guest operating system.

This cmdlet upgrades VMware Tools on the specified virtual machine guest OS.

This cmdlet waits for VMware Tools on the specified virtual machines to load.