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-VBRViDatastore cmdlet.

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 ESXi host.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Server

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

Accepts the CHost object. To get this object, run the Get-VBRServer cmdlet.

True

1

True (ByValue,
ByProperty
Name)

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

<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

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

Related Commands

Get-VBRServer

Page updated 3/11/2024

Page content applies to build 12.3.1.1139