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

Find-VBRDatastore (obsolete)

Short Description

Returns a list of VMware datastores connected to the specified ESX(i) host.

Find-VBRDatastore (obsolete) Note:

In Backup & Replication v6 this cmdlet was replaced by Find-VBRViDatastore due to multihypervisor support introduced in the new version. The cmdlet will still work but it is advised to rewrite your scripts using new cmdlets for added benefits.

Applies to

Platform: VMware

Syntax

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

Detailed Description

This cmdlet returns a list of all datastores connected to the specified ESX(i) host.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Server

Specifies the ESX(i) host you want to get the list of the connected datastores of.

True

1

True (ByValue,
ByProperty
Name)

False

Name

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

You can specify multiple names separated by commas.

False

Named

False

True

<CommonParameters>

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

Example 1

This command looks for the datastore named "Store 04" on server named "VMwareHost". The server object is obtained with Get-VBRServer and piped down.

PS C:\PS> Get-VBRServer -Name "VMwareHost" | Find-VBRDatastore -Name "Store 04"

Example 2

This command looks for the all datastores located on server represented by the $server variable. The server object is obtained with Get-VBRServer and assigned to the variable beforehand.

PS C:\PS> Find-VBRDatastore -Server $server

Related Commands

Get-VBRServer

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