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

[-Guest  <VMGuest[]>]
[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.

    [[-Server]  <VIServer[]>]
    [-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
    VM
    VirtualMachine[] named
  • wildcards
  • pipeline
  • Specifies the virtual machines from which you want to remove the VMware Tools.

    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

    Feedback

    Was this page helpful?