PowerCLI Reference

Get-VMResourceConfiguration

Synopsis

This cmdlet retrieves information about the resource allocation between the selected virtual machines.

Syntax

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

Related Commands

Online Version
Set-VMResourceConfiguration

Detailed Description

This cmdlet retrieves information about the resource allocation between the selected virtual machines.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VMVirtualMachine[]Specifies the virtual machines whose resource configuration you want to retrieve.trueTrue (ByValue)
ServerVIServer[]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.falseFalse

Return Type

Zero or more VMResourceConfiguration objects

Notes

Examples

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

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

Displays the disk share for the VM virtual machine.


Copyright © VMware, Inc. All rights reserved.