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>]

  • CloudServer

    Get-VBRCloudDatastore [-CloudServer <VBRCloudServer[]>] [-Name <String[]>] [<CommonParameters>]

  • 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

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 VBRCloudServer[] object. To get this object, run the Get-VBRCloudServerReturns cloud hosts allocated by a service provider. cmdlet.

VBRCloudServer[]

False

Named

True (ByPropertyName, ByValue)

Id

Specifies the ID of the datastore or volume you want to get.

Guid[]

False

Named

False

Name

Specifies the name of the datastore or volume you want to get.

String[]

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRCloudDatastore

Examples

Get-VBRCloudDatastoreExample 1. Getting Cloud Datastore by Name

This command returns the Cloud Replicas cloud datastore.

Get-VBRCloudDatastore -Name "Cloud Replicas"

Get-VBRCloudDatastoreExample 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".

$cloudServer = Get-VBRCloudServer -Name "Hyper-V Silver"

Get-VBRCloudDatastore -CloudServer $cloudServer

Perform the following steps:

  1. Run the Get-VBRCloudServerReturns cloud hosts allocated by a service provider. cmdlet. Specify the Name parameter value. Save the result to the $cloudServer variable.
  2. Run the Get-VBRCloudDatastore cmdlet. Set the $cloudServer variable as the CloudServer parameter value.

Get-VBRCloudServerReturns cloud hosts allocated by a service provider.

Page updated 2026-08-19

Page content applies to build 13.1.1.18