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,
ByProperty
Name)

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

VBRCloudDatastore

Examples

Get-VBRCloudDatastoreExample 1. Getting Cloud Datastore by Name

Get-VBRCloudDatastoreExample 2. Getting Cloud Datastores of Selected Cloud Server

Related Commands

Get-VBRCloudServer

Page updated 3/4/2024

Page content applies to build 12.3.1.1139