PowerCLI Reference



This cmdlet puts a list of vSAN objects on a repair queue.


Add-VsanObjectToRepairQueue -Cluster <Cluster[]> [-Server <VIServer[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

Add-VsanObjectToRepairQueue [-VsanObject <VsanObject[]>] [-Server <VIServer[]>] [-Confirm] [-WhatIf] [<CommonParameters>]

Related Commands

Online Version

Detailed Description

This cmdlet puts a list of vSAN objects on a repair queue.


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 the Connect-VIServer cmdlet.falseFalse
VsanObjectVsanObject[]Specifies the vSAN objects you want to repair.falseTrue (ByValue)
WhatIfSwitchParameterIndicates that the cmdlet is run only to display the changes that would be made and actually no objects are modified.falseFalse

Return Type




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

Add-VsanObjectToRepairQueue -Cluster $vsanCluster

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

-------------------------- Example 2 --------------------------

Add-VsanObjectToRepairQueue -VasnObject $vsanObject

Puts the $vsanObject object in the repair queue.

Copyright © VMware, Inc. All rights reserved.