vSphere PowerCLI Reference

Get-VMResourceConfiguration

Synopsis

Retrieves information about the resource allocation between the virtual machines.

Syntax

Get-VMResourceConfiguration [-Server <VIServer[]>] [-VM] <VirtualMachine[]> [<CommonParameters>]

Related Commands

Online version
Set-VMResourceConfiguration

Detailed Description

Retrieves information about the resource allocation between the virtual machines.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMVirtualMachine[]Specify the virtual machines whose resource configuration you want to retrieve.truetrue (ByValue)
ServerVIServer[]Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse

Return Type

VMResourceConfiguration

Notes

Examples

-------------- Example 1 --------------

Get-VMResourceConfiguration -VM VM | Format-Custom -Property DiskResourceConfiguration

Displays the disk share for the VM virtual machine.


Copyright © 1998 - 2012 VMware, Inc. All rights reserved.