Get-VMResourceConfiguration

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
VM
VirtualMachine[] named
  • wildcards
  • pipeline
  • Specifies the virtual machines whose resource configuration you want to retrieve.
    optional
    Server
    VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null 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.

    Output

    VMware.VimAutomation.ViCore.Types.V1.VM.VMResourceConfiguration

    Examples


    Example 1

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

    Displays the disk share for the VM virtual machine.

    Related Commands

    Feedback

    Was this page helpful?