Find-VBRViDatastoreCluster

Short Description

Looks for VMware datastore clusters.

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides the following parameter sets:

  • Server

    Find-VBRViDatastoreCluster [-Name <String[]>] -Server <Object> [<CommonParameters>]

  • StoragePolicy

    Find-VBRViDatastoreCluster [-Name <String[]>] -StoragePolicy <VBRViStoragePolicy> [<CommonParameters>]

Detailed Description

This cmdlet returns a list of VMware datastore clusters.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies an array of datastore cluster names. The cmdlet will return clusters with these names.

String[]

False

Named

False

Server

Specifies a host or cluster. The cmdlet will return the datastore clusters created on this host or cluster.

Accepts the Object object. To get this object, run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet.

Object

True

Named

True (ByPropertyName, ByValue)

StoragePolicy

Specifies the VMware storage policy profile. The cmdlet will return datastores clusters compatible with this profile.

Accepts the VBRViStoragePolicy object. To get this object, run the Find-VBRViStoragePolicyLooks for VMware storage policy profiles. cmdlet.

VBRViStoragePolicy

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

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

Output Object

This cmdlet returns the VBRViDatastoreCluster object that contains a list of VMware datastore clusters.

Examples

Find-VBRViDatastoreClusterExample 1. Looking for VMware Datastores Clusters Connected to Specific ESXi Host

This example shows how to look for VMware datastore clusters on the esx05.tech.local host.

$server = Get-VBRServer -Type ESXi -Name "esx05.tech.local"

Find-VBRViDatastoreCluster -Server $server

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Type and Name parameter values. Save the result to the $server variable.
  2. Run the Find-VBRViDatastoreCluster cmdlet. Set the $server variable as the Server parameter value.

Find-VBRViDatastoreClusterExample 2. Looking for VMware Datastores Clusters Compatible with Specific Storage Policy Profiles

This example shows how to get the list of the vol2 cluster datastores and cluster datastores which names start with cluster0*. These datastores are compatible with the SP Virtual SAN Default storage policy profile.

$server = Get-VBRServer -Type ESXi -Name "esx05.tech.local"

$policy = Find-VBRViStoragePolicy -Server $server -Name "SP Virtual SAN Default"

Find-VBRViDatastoreCluster -StoragePolicy $policy -Name "vol2", "cluster0*"

Perform the following steps:

  1. Run the Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify the Type and Name parameter values. Save the result to the $server variable.
  2. Run the Find-VBRViStoragePolicyLooks for VMware storage policy profiles. cmdlet. Specify the Server and Name parameter values. Save the result to the $policy variable.
  3. Run the Find-VBRViDatastoreCluster cmdlet. Set the $policy variable as the StoragePolicy parameter value. Specify the Name parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18