Get-SCVMwareResourcePool

Applies To: System Center 2012 - Virtual Machine Manager

Get-SCVMwareResourcePool

Gets VMware resource pool objects from the VMM database.

Syntax

Parameter Set: FilterById
Get-SCVMwareResourcePool -ID <Guid> [ <CommonParameters>]

Parameter Set: FilterByVMHost
Get-SCVMwareResourcePool -VMHost <Host> [ <CommonParameters>]

Parameter Set: FilterByVMHostCluster
Get-SCVMwareResourcePool -VMHostCluster <HostCluster> [ <CommonParameters>]

Detailed Description

The Get-SCVMWareResourcePool cmdlet gets VMware resource pool objects from the System Center Virtual Machine Manager (VMM) database.

VMware resource pools are imported when a ESX host or ESX host cluster that owns the resource pools are added to VMM.

VMware uses resource pools to group virtual machines deployed on ESX hosts, or ESX host clusters, into an organizational hierarchy that consists of parent, sibling, and child resource pools. Resources, such as CPU and memory, are specified for virtual machines assigned to each resource pool. Administration of sets of resource pools can be delegated, in vCenter Server, to administrators by department, by geographical region, or by some other organizational requirement.

VMware resource pools can provide resources to private clouds. For more information about creating a private cloud, type: "Get-Help New-SCCloud".

For more information about Get-SCVMwareResourcePool, type: "Get-Help Get-SCVMwareResourcePool -online".

Parameters

-ID<Guid>

Specifies the numerical identifier (as a globally unique identifier, or GUID) for a specific object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VMHost<Host>

Specifies a virtual machine host object. VMM supports Hyper-V hosts, VMware ESX hosts, and Citrix XenServer hosts.

For more information about each type of host, type: "Get-Help Add-SCVMHost -detailed". See the examples for a specific cmdlet to determine how that cmdlet uses this parameter.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

-VMHostCluster<HostCluster>

Specifies a VMM host cluster object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • VMwareResourcePool

Examples

1: Get the VMware resource pool for a VMware ESX host.

The first command gets the object that represents the VMware ESX host named VMHost01 from the VMM database by specifying the IP address (represented in the example by "nnn.nnn.nnn.nnn") of the ESX host. This ESX Server is managed by VMM through VMware VirtualCenter Server. The command stores the host object in variable $MyESXHost.

The last command gets the VMware resource pool information from the VMM database for the ESX host object stored in variable $VMHost and displays information about the resource pool to the user.

PS C:\> $ESXHost = Get-SCVMHost -ComputerName "ESXHost01.Contoso.com"
PS C:\> Get-SCVMwareResourcePool -VMHost $ESXHost

Get-SCVMHost

Get-SCVMHostCluster