vSphere PowerCLI Reference

Dismount-Tools

Synopsis

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

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[]Specify the guest operating systems from which you want to remove the VMware Tools.falsetrue (ByValue)
VMVirtualMachine[]Specify the virtual machines from which you want to remove the VMware Tools.falsetrue (ByValue)
ServerVIServer[]The vSphere server 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 © 1998 - 2011 VMware, Inc. All rights reserved.