Add-VsanObjectToRepairQueue Command | Vmware PowerCLI Reference

Add-VsanObjectToRepairQueue

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

Syntax

Add-VsanObjectToRepairQueue
-VsanObject < VsanObject[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
VsanObject VsanObject[] named
  • pipeline
Specifies the vSAN objects you want to repair.
optional ProgressAction ActionPreference named
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 the Connect-VIServer cmdlet.
Add-VsanObjectToRepairQueue
-Cluster < Cluster[] >
[-ProgressAction < ActionPreference > ]
[-Server < VIServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Cluster Cluster[] named
  • pipeline
  • wildcards
Specifies the vSAN cluster from which you want to repair objects.
optional ProgressAction ActionPreference named
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 the Connect-VIServer cmdlet.

Output

Examples

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.

Related Commands

VsanObject

This cmdlet retrieves vSAN objects based on the specified filters.

VsanObjectToRepairQueue

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