Find-VBRDatastore (obsolete)

Short Description

Returns a list of VMware datastores connected to the specified ESXi host.

Note

This cmdlet is obsolete. The cmdlet still works, but it is recommended to rewrite your scripts using the Find-VBRViDatastoreLooks for VMware datastores. cmdlet.

Platform: VMware

Syntax

Find-VBRDatastore [-Name <String[]>] [-Server] <CHost> [<CommonParameters>]

Detailed Description

This cmdlet returns a list of all datastores connected to the specified ESXi host.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies the name of the datastore you want to get, or search conditions.

You can specify multiple names separated by commas.

String[]

False

Named

False

Server

Specifies the ESXi host you want to get the list of the connected datastores of.

CHost

True

0

True (ByPropertyName, ByValue)

<CommonParameters>

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

Examples

Find-VBRDatastore (obsolete)Example 1. Getting Specific Datastore on Server

This example shows how to look for the Store 04 datastore on server named VMwareHost.

Get-VBRServer -Name "VMwareHost" | Find-VBRDatastore -Name "Store 04"

Perform the following steps:

  1. Run the Get-VBRBackupReturns backups. cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Find-VBRDatastore cmdlet. Specify the Name parameter value.

Find-VBRDatastore (obsolete)Example 2. Getting All Datastores on Server

This example shows how to look for all datastores located on the VMwareHost server.

$server = Get-VBRServer -Name "VMwareHost"

Find-VBRDatastore -Server $server

Perform the following steps:

  1. Run the Get-VBRBackupReturns backups. cmdlet. Specify the Name parameter value. Save the result to the $server variable.
  2. Run the Find-VBRDatastore cmdlet. Set the $server variable as the Server parameter value.

Get-VBRServerReturns hosts connected to the backup infrastructure.

Page updated 2026-08-19

Page content applies to build 13.1.1.18