![]() NAME Get-ResourcePool SYNOPSIS Retrieves the resource pools available on a vSphere server. SYNTAX Get-ResourcePool [-VM ursion] [-Server DESCRIPTION Retrieves the resource pools available on a vSphere server. The cmdlet returns a set of resource pools that corresp ond to the filter criteria provided by the cmdlet parameters. Virtual machine hosts have a hidden resource pool nam ed Resources, which is a parent of all resource pools of the host. To specify a server different from the default o ne, use the -Server parameter. PARAMETERS -VM Specify virtual machines to filter the resource pools that contain at least one of them. Required? false Position? named Default value Accept pipeline input? true (ByValue) Accept wildcard characters? true -Location Specify vSphere container objects (such as folders, datacenters, and clusters) you want to search for resource pools. Required? false Position? named Default value Accept pipeline input? true (ByValue) Accept wildcard characters? true -Name Specify the names of the resource pools you want to retrieve. Required? false Position? 1 Default value Accept pipeline input? false Accept wildcard characters? true -Id Specify the IDs of the resource pools you want to retrieve. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? true -NoRecursion Indicate that you want to disable the recursive behavior of the command. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? false -Server Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co mmand runs on the default servers. For more information about default servers, see the description of Connect-V IServer. Required? false Position? named Default value Accept pipeline input? false Accept wildcard characters? true This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters". INPUTS OUTPUTS ResourcePool NOTES -------------- Example 1 -------------- C:\PS>$server = Connect-VIServer -Server 10.23.112.235 Get-ResourcePool -Server $server -VM VM Retrieves information of the resource pool to which the virtual machine MS Win belongs. RELATED LINKS Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-ResourcePool.html New-ResourcePool Remove-ResourcePool Set-ResourcePool Move-ResourcePool |