- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Experts,
Is there a way to know if ESX/ESXi host is in any cluster or standalone ?
I can pull the hosts information from multiple VC but now i want to know if that particular host is part of cluster or standalone?
It should show standalone if so or else it should give cluster name if it is part of cluster.
Thanks & Regards,
Amol Patil
Regards,
Amol Patil
VCP 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can do something like this
Get-VMHost | select Name,@{N='Standalone';E={$_.ParentId -notmatch 'Cluster'}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a ton for the hint. ![]()
I will do the further modification.
PowerCLI problem? = LucD is available ![]()
Regards,
Amol Patil
VCP 5