VMware Cloud Community
molebleeze
Contributor
Contributor

Get-VMhost return no value on Vcenter

Hello,

When I issue Get-VMHost on vcenter after connection, it shows no value.

Is there something I need to do extra?

molebleeze_0-1670196685818.png

0 Kudos
2 Replies
molebleeze
Contributor
Contributor

It shows below...

PS C:\WINDOWS\system32> connect-viserver -server 172.17.71.20

Name Port User
---- ---- ----
172.17.71.20 443 root

PS C:\WINDOWS\system32> get-vm | fl

PS C:\WINDOWS\system32> Get-VM

PS C:\WINDOWS\system32> get-powrcliversion

0 Kudos
LucD
Leadership
Leadership

Are you connecting with root to the vCenter?
Did you also try with an SSO account (default administrator@vsphere.local) that has an Administrator role in the vCenter?


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

0 Kudos