Get-VBRCloudDatastore
Short Description
Returns datastores or disk volumes allocated to you under your cloud resources.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Get datastores or volumes by name.
|
Get-VBRCloudDatastore [-Name <string[]>] [<CommonParameters>] |
- Get datastores or volumes of a selected cloud service provider.
|
Get-VBRCloudDatastore [-CloudServer <VBRCloudServer[]>] [-Name <string[]>] [<CommonParameters>] |
- Get datastores or volumes by ID.
|
Get-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 |
|---|---|---|---|---|---|
|
Name |
Specifies the name of the datastore or volume you want to get. |
String[] |
False |
Named |
False |
|
CloudServer |
Specifies the cloud service provider. The cmdlet will return the datastores or volumes provided by this cloud service provider. |
Accepts the VBRCloudServer[] object. To get this object, run the Get-VBRCloudServer cmdlet. |
False |
Named |
True (ByValue, |
|
Id |
Specifies the ID of the datastore or volume you want to get. |
Guid[] |
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 Cloud Replicas cloud datastore.
|
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