Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

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

Syntax

This cmdlet provides three parameter sets.

  • For looking for datastores or volumes by name:

Get-VBRCloudDatastore [-Name <string[]>]  [<CommonParameters>]

  • For looking for datastores or volumes of a selected cloud service provider:

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

  • For looking for 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

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

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

False

Named

False

False

CloudServer

Specifies the cloud service provider. The cmdlet will return the datastores or volumes provided by this cloud service provider.

Accepts VBRCloudServer type.

False

Named

True (ByValue,
ByProperty
Name)

False

Id

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

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRCloudDatastore

Example 1

This command returns cloud datastore named "Cloud Replicas".

PS C:\PS> Get-VBRCloudDatastore -Name "Cloud Replicas"

Example 2

This example shows how to return cloud datastores located on the cloud server named "Hyper-V Silver".

  1. Run Get-VBRCloudServer to get the Hyper-V Silver server and save it to the $cloudServer variable.
  2. Run Get-VBRCloudDatastore with the saved variable.

PS C:\PS> $cloudServer = Get-VBRCloudServer -Name "Hyper-V Silver"

PS C:\PS> Get-VBRCloudDatastore -CloudServer $cloudServer

Related Commands

Get-VBRCloudServer

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation