VMware Cloud Community
bvi1006
Enthusiast
Enthusiast

Get-vm does not match VCenter vms

Hi,

When I run Get-vm it returns at least 300 more vms than are listed in the GUI inventory… we only have a few templates - so far I cannot figure out why this is. Any help with this issue would be greatly appreciated…

Thanks!

0 Kudos
1 Reply
LucD
Leadership
Leadership

Can you check what is in $global:defaultVIServers?


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

0 Kudos