As always there are several ways to do this.
Try this one
Get-VMHost|
where{$_.ExtensionData.Parent.Type-ne"ClusterComputeResource"} |
SelectName
As always there are several ways to do this.
Try this one
Get-VMHost|
where{$_.ExtensionData.Parent.Type-ne"ClusterComputeResource"} |
SelectName