February 2014
Intermediate to advanced
374 pages
8h 12m
English
To run a command on the guest operating system of a virtual machine, you can use the Invoke-VMScript cmdlet. To use this cmdlet, the virtual machines must be powered on and must have the VMware Tools installed. You also need network connectivity to the ESXi server hosting the virtual machine on port 902. This cmdlet only supports the following guest operating systems:
The Invoke-VMScript cmdlet has the following syntax:
Invoke-VMScript [-ScriptText] <String> [-VM] <VirtualMachine[]> [-HostCredential <PSCredential>] [-HostUser <String>] [-HostPassword ...Read now
Unlock full access