How did you try to sort the clusters ?
Like this ?
foreach ($Cluster in (Get-Cluster -Location $Datacenter | Sort-Object -Property Name)) {
How did you try to sort the clusters ?
Like this ?
foreach ($Cluster in (Get-Cluster -Location $Datacenter | Sort-Object -Property Name)) {