Get-VsanHCIMeshDatastore Command | Vmware PowerCLI Reference

Get-VsanHCIMeshDatastore

This cmdlet retrieves vSAN HCI Mesh datastores based on the specified filters. You can use this cmdlet starting from vSAN 8.0 Update 1.

Syntax

Get-VsanHCIMeshDatastore
-VsanHCIMeshDatastoreSource < VsanHCIMeshDatastoreSource[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VsanHCIMeshDatastoreSource VsanHCIMeshDatastoreSource[] named
Specifies the vSAN HCI Mesh datastore source(s) from which to retrieve the datastore.
optional ProgressAction ActionPreference named
optional Server VIServer[] named
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.

Output

VMware.VimAutomation.Storage.Types.V1.Vsan.VsanHCIMeshDatastore

Examples

Example 1

$ds = Get-VsanHCIMeshDatastoreSource -VCHost ('10.161.94.0')
Get-VsanHCIMeshDatastore -VsanHCIMeshDatastoresource $ds

Retrieves a vSAN HCI Mesh datastore from the specified HCI Mesh datastore source.

Related Commands

VsanHCIMeshDatastore

This cmdlet retrieves vSAN HCI Mesh datastores based on the specified filters.

VsanHCIMeshDatastoreSource

This cmdlet retrieves vSAN HCI Mesh datastore sources based on the specified filters.

This cmdlet creates a new vSAN HCI Mesh datastore source for the local vCenter Server from a remote vCenter Server.

This cmdlet removes a vSAN HCI Mesh datastore source with the specified information.

VsanHclDatabase

This cmdlet updates the vSAN hardware compatibility list (HCL) database.

VsanHealthCheckThreshold

This cmdlet creates a vSAN health check threshold object locally. This cmdlet is used to set a capacity threshold in Set-VsanClusterConfiguration.