Get-VBRCloudSubUser
Short Description
Returns cloud subuser accounts.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
This cmdlet provides the following parameter sets:
- To look for all cloud subusers
- To look for cloud subusers by the subuser ID
Get-VBRCloudSubUser [-Id <guid[]>] [-Mode <VBRCloudSubUserMode> {Common | AgentManagement}] [<CommonParameters>] |
- To look for cloud subusers by the subuser name
Get-VBRCloudSubUser [-Name <string[]>] [-Mode <VBRCloudSubUserMode> {Common | AgentManagement}][<CommonParameters>] |
- To look for cloud subusers by a cloud service provider
Get-VBRCloudSubUser [-CloudProvider <VBRCloudProvider[]>] [-Mode <VBRCloudSubUserMode> {Common | AgentManagement}] [<CommonParameters>]>] |
Detailed Description
This cmdlet returns cloud subuser accounts of the following types:
- Simple cloud subtenant accounts
- vCD cloud subtenant accounts
You can get the list of all existing subuser accounts, or narrow down the search results to name, ID or cloud provider. Use an appropriate parameter set for each case.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Id | Specifies an array of subuser ID. The cmdlet will return subusers with these IDs. | False | Named | True (ByValue, | False |
Name | Specifies an array of names for subuser accounts. The cmdlet will return subusers with names. | False | Named | True (ByValue, | True |
Mode | Specifies the cloud subtenant mode. You can select either of the following modes:
The cmdlet will return subusers of the specified mode. | False | Named | False | False |
CloudProvider | Specifies a cloud provider. The cmdlet will return subusers associated with this cloud provider. Accepts the VBRCloudProvider type. | False | Named | True (ByValue, | 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
IVBRCloudSubUser
Example 1
This command returns all cloud subusers.
Example 2
This command looks for a subuser by the subuser name.
Example 3
This example shows how to get a subuser by a cloud service provider.
- Run Get-VBRCloudProvider to get a cloud service provider. Save the result to the $cloudprovider variable.
- Run Get-VBRSubUser. Use the $cloudprovider variable.
Related Commands