Get-SCVMwareResourcePool

Get-SCVMwareResourcePool

Gets VMware resource pool objects from the VMM database.

構文

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

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

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

詳細説明

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.

パラメーター

-ID<Guid>

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

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

false

ワイルドカード文字を許可する

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.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

-VMHostCluster<HostCluster>

Specifies a VMM host cluster object.

エイリアス

none

必須?

true

位置は?

named

既定値

none

パイプライン入力を許可する

True (ByValue)

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • VMwareResourcePool

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

関連トピック

Add-SCVMHost

Get-SCVMHost

Get-SCVMHostCluster

New-SCCloud