Get-SCVMXComputerConfiguration
Gets VMX computer configuration objects from the VMM database that are associated with one or more VMware-based virtual machines.
Syntax
Default (Default)
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.
Parameter properties
Type: | ServerConnection |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VMXPath
Specifies the full UNC path to the .vmx file of a VMware virtual machine.
Example format: \\ServerName\VolumeName\DirectoryName\VMwareVM.vmx
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
VMXMachineConfig
This cmdlet returns a VMXMachineConfig object.