# Test-VsanHealth ## Synopsis Tests the vSAN health of a for a specified cluster. ## Syntax ```powershell Test-VsanHealth [-server] [-user] [-pass] [-cluster] [] ``` ## Description The `Test-VsanHealth` cmdlet returns the vSAN health of a specified cluster. ## Examples ### Example 1 ```powershell Test-VsanHealth -server [vcenter_fqdn] -user [admin_username] -pass [admin_password] -cluster [cluster_name] ``` This example connects to a vCenter and checks the state of the vSAN cluster health for a specified cluster. ## Parameters ### -server The FQDN of the vCenter. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 1 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -user The username to authenticate to vCenter. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 2 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -pass The password to authenticate to vCenter. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 3 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### -cluster The name of the cluster. ```yaml Type: String Parameter Sets: (All) Aliases: Required: True Position: 4 Default value: None Accept pipeline input: False Accept wildcard characters: False ``` ### Common Parameters This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).