Get-VBRCloudServer
Short Description
Returns cloud hosts available by your cloud resources.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides three parameter sets.
- For looking for hosts by host name:
- For looking for hosts of a selected cloud service provider:
- For looking for hosts by host ID:
Detailed Description
This cmdlet returns cloud hosts that are allocated to you by your cloud resources.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the array of the host names you want to get. | False | Named | False | False |
CloudProvider | Specifies the array of the cloud providers. The cmdlet will return the hosts that are provided to you by these providers. Accepts VBRCloudProvider type. | False | Named | True (ByValue, | False |
Id | Specifies the array of the IDs of the host you want to get. The cmdlet will return the hosts with these IDs. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example 1
This command returns cloud server named "Hyper-V Silver".
Example 2
This example shows how to return cloud servers of the server provider with the 104.45.95.227 IP address.
- Run Get-VBRCloudProvider to get the cloud provider and save the result to the $cloudProvider variable.
- Run Get-VBRCloudServer using the saves variable.
$cloudProvider = Get-VBRCloudProvider -Name "104.45.95.227" Get-VBRCloudServer -CloudProvider $cloudProvider |
Related Commands