PowerCLI Reference

Dismount-Tools

Synopsis

This cmdlet dismounts the VMware Tools installer CD.

Syntax

Dismount-Tools [[-Guest] <VMGuest[]>] [<CommonParameters>]

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

Related Commands

Online Version
Update-Tools
Mount-Tools

Detailed Description

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.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
GuestVMGuest[]Specifies the guest operating systems from which you want to remove the VMware Tools.falseTrue (ByValue)
VMVirtualMachine[]Specifies the virtual machines from which you want to remove the VMware Tools.falseTrue (ByValue)
ServerVIServer[]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.falseFalse

Return Type

None

Notes

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.


Copyright © VMware, Inc. All rights reserved.