- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suspect you might be connected to multiple vCenters.
Check what is in $global:defaultviservers.
You can limit your Get-VMHost to a specific vCenter by adding the Server parameter.
Get-VMHost -Server $vcenter
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference