Short Description
Returns resource pools.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Find-VBRViResourcePool -Server <CHost> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns resource pools on a selected ESX(i) host.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Server | Specifies the ESX(i) host. The cmdlet will return resource pools created on this host. Accepts server object or string (host name) type. | True | Named | True (ByValue, | False |
Name | Specifies the array of resource pool names. The cmdlet will return resource pools with these names. | False | Named | False | True |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
CViResourcePoolItem
Example 1
This example shows how to get a list of resource pools on the ESXi host.
You will need to perform the following steps:
- Run Get-VBRServer to get the server where resource pools are located. Save the result to the $server variable.
- Run Find-VBRViResourcePool with the $server variable.
PS C:\PS> $server = Get-VBRServer -Type ESXi PS C:\PS> Find-VBRViResourcePool -Server $server |
Example 2
This command returns the resource pool named "ResourcePool_05" on the ESXi host.
PS C:\PS> Find-VBRViResourcePool -Server "ESXiHost" -Name "ResourcePool_05" |
Related Commands