vSphere PowerCLI Reference

Mount-Tools

Synopsis

Mounts the VMware Tools CD installer as a CD-ROM on the guest operating system.

Syntax

Mount-Tools [[-Guest] <VMGuest[]>] [<CommonParameters>]
Mount-Tools [[-VM] <VirtualMachine[]>] [[-Server] <VIServer[]>] [<CommonParameters>]

Related Commands

Online version
Dismount-Tools
Update-Tools

Detailed Description

Mounts the VMware Tools CD installer as a CD-ROM on the guest operating system that is specified by the Guest or VM parameters. To specify a server different from the default one, use the -Server parameter.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
GuestVMGuest[]Specify the guest operating systems on which you want to mount VMware Tools.falsetrue (ByValue)
VMVirtualMachine[]Specify the virtual machines on which you want to mount VMware Tools.falsetrue (ByValue)
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse

Return Type

None

Notes

Examples

-------------- Example 1 --------------

Mount-Tools VM

Mounts the VMware Tools on the specified virtual machine. The virtual machine must be powered on.

-------------- Example 2 --------------

Get-VMGuest VM | Mount-Tools

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


Copyright © 1998 - 2012 VMware, Inc. All rights reserved.