In the file Get-vSANInfo.ps1 the section for determining if a cluster if Hybrid or Flash is incorrect. It is counting how many SSD disks are in the cluster and if the count is greater than 0 it marks it as Hybrid which is backwards.
Proposed solution would be either $.IsSsd -ne $true or $.IsSsd -eq $false
Current code
$magneticDiskCounter = ($vSanDisks | Where-Object {$_.IsSsd -eq $true}).Count
if ($magneticDiskCounter -gt 0) {
$clusterType = "Hybrid"
}
else {
$clusterType = "Flash"
} #END if/else
In the file Get-vSANInfo.ps1 the section for determining if a cluster if Hybrid or Flash is incorrect. It is counting how many SSD disks are in the cluster and if the count is greater than 0 it marks it as Hybrid which is backwards.
Proposed solution would be either $.IsSsd -ne $true or $.IsSsd -eq $false
Current code