## PowerCLI Reference

# Get-VMResourceConfiguration

## Synopsis

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

Syntax

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

Related Commands

Online version
Set-VMResourceConfiguration

Detailed 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 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.