Get-VBRCloudDatastore
Short Description
Returns datastores or disk volumes allocated to you under your cloud resources.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Get-VBRCloudDatastore [-Name <String[]>] [<CommonParameters>]
-
CloudServerGet-VBRCloudDatastore [-CloudServer <VBRCloudServer[]>] [-Name <String[]>] [<CommonParameters>]
-
IdGet-VBRCloudDatastore [-Id <Guid[]>] [-Name <String[]>] [<CommonParameters>]
Detailed Description
This cmdlet returns datastores (for VMware) or volumes (for Hyper-V) in your cloud resources.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
CloudServer |
Specifies the cloud service provider. The cmdlet will return the datastores or volumes provided by this cloud service provider.
Accepts the |
False |
Named |
True (ByPropertyName, ByValue) |
|
|
Id |
Specifies the ID of the datastore or volume you want to get. |
|
False |
Named |
False |
|
Name |
Specifies the name of the datastore or volume you want to get. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Getting Cloud Datastore by Name
|
This command returns the
|
Example 2. Getting Cloud Datastores of Selected Cloud Server
|
This example shows how to return cloud datastores located on the cloud server named "Hyper-V Silver".
Perform the following steps:
|
Related Commands
Get-VBRCloudServerReturns cloud hosts allocated by a service provider.