Mount-Tools Command | Vmware PowerCLI Reference

Mount-Tools

This cmdlet 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.

Syntax

Mount-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 you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.
optional ProgressAction ActionPreference named
optional VM VirtualMachine[] named
  • pipeline
  • wildcards
Specifies the virtual machines on which you want to mount VMware Tools.
Mount-Tools
[-Guest < VMGuest[] > ]
[-ProgressAction < ActionPreference > ]
[CommonParameters]

Parameters

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

Output

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.

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.