Get-VMX
Get-VMX is the “mother” of all commands
get-vmx is most likely always “left of the pipe”
If no Parameter specified, get-vmx lists all vm´s in the Path
NAME
Get-VMXÜBERSICHT
A brief description of the get-VMX function.SYNTAX
Get-VMX [[-VMXName] <Object>] [-Path <Object>] [-UUID <Object>] [<CommonParameters>]BESCHREIBUNG
A detailed description of the get-VMX function.
Get-VMX retrieves the Basic information object requires as Pipeline Objects for other Commands.
get-VMX returns the following Objects:
VMXName: Name of the VM
Config: Path to .vmx file
Path: Path Location of VM Files
UUID: uuid of the VM
Template: true or false for Template Mode
ActivationPreference : Order in a Scenario for Start / Stop actions
Scenario: Array of Scenarios VM belongs to
State: running, stoped, suspended
Examples:
get a certain vmx and list all snapshots for vmx
PS E:\LABBUILDR> get-vmx -path .\2012R2UEFIMaster | get-vmxsnapshot
VMXname Snapshot Config Path
——- ——– —— —-
Server2012R2UEFi Base E:\LABBUILDR\2012R2UEFIMaste… E:\LABBUILDR\2012R2UEFIMaster