Get-SCVMwareResourcePool

Gets VMware resource pool objects from the VMM database.

Syntax

Get-SCVMwareResourcePool -ID <Guid> [<CommonParameters>]
Get-SCVMwareResourcePool -VMHost <Host> [<CommonParameters>]
Get-SCVMwareResourcePool -VMHostCluster <HostCluster> [<CommonParameters>]

Description

The Get-SCVMWareResourcePool cmdlet gets VMware resource pool objects from the 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.

Examples

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

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

The first command gets the object that represents the VMware ESX host named ESXHost01.Contoso.com from the VMM database. This ESX Server is managed by VMM through VMware VirtualCenter Server. The command stores the host object in the variable $ESXHost.

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.

Parameters

-ID

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

Type:Guid
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-VMHost

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, see the Add-SCVMHost cmdlet.

Type:Host
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-VMHostCluster

Specifies a VMM host cluster object.

Type:HostCluster
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Outputs

VMwareResourcePool

This cmdlet returns a **VMwareResourcePool** object.