VMware Cloud Community
bairstowscott
Contributor
Contributor
Jump to solution

Find the ESXi hosts that are not in the clusters

How do I find the ESXi hosts that are not in the clusters using powercli?

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

As always there are several ways to do this.

Try this one

Get-VMHost |
where{$_.ExtensionData.Parent.Type -ne "ClusterComputeResource"} |
Select Name


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

0 Kudos
1 Reply
LucD
Leadership
Leadership
Jump to solution

As always there are several ways to do this.

Try this one

Get-VMHost |
where{$_.ExtensionData.Parent.Type -ne "ClusterComputeResource"} |
Select Name


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos