Get-SCVMwareResourcePool
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 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
.
Parameters
-ID<Guid>
Specifies the numerical identifier as a globally unique identifier (GUID) for a specific object.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
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
Example 1: Get the VMware resource pool for a VMware ESX host
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 $ESXHost variable.
The second command gets the VMware resource pool information from the VMM database for the ESX host object stored in variable $ESXHost and displays information about the resource pool.
PS C:\> $ESXHost = Get-SCVMHost -ComputerName "ESXHost01.Contoso.com"
PS C:\> Get-SCVMwareResourcePool -VMHost $ESXHost