As part of an automated SQL Server installation process, I'd like to programmatically check whether a Windows Failover Cluster has already been validated.
There are some ways to validate the cluster programmatically, such as the Powershell cmdlet Test-Cluster
, but I haven't been able to find a way to check the validation status without re-running the validation process, which can be slow and for some tests requires taking disks offline.
Is there a way to check the validation status, such as a property that can be accessed through WMI, the registry, or a Powershell cmdlet?
If it were me, I'd want to see the cluster validation report. According to technet,