Syntax
Mount-Tools [[-Guest] <VMGuest[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
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.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Guest | VMGuest[] | Specifies the guest operating systems on which you want to mount VMware Tools. | false | true (ByValue) | |
VM | VirtualMachine[] | Specifies the virtual machines on which you want to mount VMware Tools. | false | true (ByValue) | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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. | false | false |
Return Type
NoneNotes
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.