Update-VsanHclDatabase Command | Vmware PowerCLI Reference

Update-VsanHclDatabase

This cmdlet updates the vSAN hardware compatibility list (HCL) database. It can be updated by using the latest online version or from a file, if Internet is not accessible. The cmdlet updates the HCL database for all clusters on the specified servers.

Syntax

Update-VsanHclDatabase
[-FilePath < String > ]
[-ProgressAction < ActionPreference > ]
[-RunAsync ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional FilePath String named
Specifies the path to file from which vSAN HCL database is updated. If not specified, the database is updated with latest version from the Internet.
optional ProgressAction ActionPreference named
optional RunAsync SwitchParameter named
Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter run "help About_RunAsync" in the VMware PowerCLI console.
optional Server VIServer[] named
  • wildcards
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

Examples

Example 1

Update-VsanHclDatabase -FilePath "LocalHclDbFilepath"

Updates the vSAN HCL database on the vSphere server by using the content of the "LocalHclDbFilepath" file.

Example 2

Update-VsanHclDatabase

Updates the vSAN HCL database on the vSphere server by using the latest version from the Internet.

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.