Get-SCVMwareResourcePool
Gets VMware resource pool objects from the VMM database.
Syntax
NoFilter (Default)
Get-SCVMwareResourcePool
[<CommonParameters>]
FilterByVMHost
Get-SCVMwareResourcePool
-VMHost <Host>
[<CommonParameters>]
FilterByVMHostCluster
Get-SCVMwareResourcePool
-VMHostCluster <HostCluster>
[<CommonParameters>]
FilterById
Get-SCVMwareResourcePool
-ID <Guid>
[<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.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
FilterById
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | Host |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
FilterByVMHost
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-VMHostCluster
Specifies a VMM host cluster object.
Parameter properties
Type: | HostCluster |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
FilterByVMHostCluster
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
VMwareResourcePool
This cmdlet returns a VMwareResourcePool object.