Syntax
Get-VMResourceConfiguration [-VM] <VirtualMachine[]> [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet retrieves information about the resource allocation between the selected virtual machines.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
VM | VirtualMachine[] | Specifies the virtual machines whose resource configuration you want to retrieve. | true | True (ByValue) | |
Server | VIServer[] | Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer. | false | False |
Return Type
Zero or more VMResourceConfiguration objectsNotes
Examples
-------------------------- Example 1 --------------------------
Get-VMResourceConfiguration -VM VM | Format-Custom -Property DiskResourceConfiguration
Displays the disk share for the VM virtual machine.