PowerCLI Reference

Repair-VsanObject

Synopsis

This cmdlet puts a list of vSAN cluster objects in a repair queue.

Syntax

Repair-VsanObject -Cluster <Cluster[]> [-Server <VIServer[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version

Detailed Description

This cmdlet puts a list of vSAN cluster objects in a repair queue.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ClusterCluster[]Specifies the vSAN cluster from which you want to repair objects.trueTrue (ByValue)
ConfirmSwitchParameterIf the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.falseFalse
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falseFalse
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type

None

Notes

Examples

-------------------------- Example 1 --------------------------

Repair-VsanObject -Cluster $vsanCluster

Puts the vSAN objects of the $vsanCluster cluster in the repair queue.


Copyright © VMware, Inc. All rights reserved.