Get-SCVMXComputerConfiguration

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

Syntax

Get-SCVMXComputerConfiguration
   [-VMMServer <ServerConnection>]
   [-VMXPath <String>]
   [<CommonParameters>]

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's 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.

Examples

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

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

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

Parameters

-VMMServer

Specifies a VMM server object.

Type:ServerConnection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-VMXPath

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

Example format: \\ServerName\VolumeName\DirectoryName\VMwareVM.vmx

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

VMXMachineConfig

This cmdlet returns a VMXMachineConfig object.