Hello,
When I issue Get-VMHost on vcenter after connection, it shows no value.
Is there something I need to do extra?
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
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