Get-SCVMXComputerConfiguration

Get-SCVMXComputerConfiguration

Gets VMX computer configuration objects from the VMM database that are associated with one or more VMware-based virtual machines.

Syntax

Parameter Set: Default
Get-SCVMXComputerConfiguration [-VMMServer <ServerConnection> ] [-VMXPath <String> ] [ <CommonParameters>]

Detailed Description

The Get-SCVMXComputerConfiguration cmdlet gets one or more VMX computer configuration objects from the Virtual Machine Manager (VMM) database that are associated with one or more VMware virtual machines. Information about a virtual machine computer hardware, disks, and operating system is stored in the VMX computer configuration object.

A VMX computer configuration object is used by the New-SCV2V cmdlet when it converts a VMware-based virtual machine deployed on an ESX host to a virtual machine deployed on a Windows-based Hyper-V host.

Parameters

-VMMServer<ServerConnection>

Specifies a VMM server object.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByValue)

Accept Wildcard Characters?

false

-VMXPath<String>

Specifies the full UNC path to the .vmx file of a VMware virtual machine.

Example format: -VMXPath "\\ServerName\VolumeName\DirectoryName\VMwareVM.vmx"

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • VMXMachineConfig

Examples

Example 1: Get all VMX computer configuration objects in your VMM environment

This command gets all VMX computer configuration objects from the VMM database and displays information about these VMX computer configuration objects to the user.

PS C:\> Get-SCVMXComputerConfiguration -VMMServer "VMMServer01.Contoso.com"

New-SCV2V

New-SCVMXComputerConfiguration

Remove-SCVMXComputerConfiguration