Hi,
Below script excludes one particular datastore from the output, but how can I exclude multiple datastores from the below script,
please help
Get-Cluster MyClus | Get-Datastore | Sort-Object -Property {$_.FreeSpaceGB} -Descending:$true | where {$_.Name -ne "datastore1"} | Select-Object -ExpandProperty Name -First 1