Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 230663

Re: Is there any powercli command or script available from which i can pull vcenter version and esxi host belogs to which vcenter server?

$
0
0

Hi LucD,

 

It will be more helpful if you can please clarify this  'split line'

 

[vSphere PowerCLI] C:\> $h.ExtensionData.Client.ServiceUrl

https://vc01/sdk

 

So while spliting, $h.ExtensionData.Client.ServiceUrl.split('/')[2], how VC name becomes 3 rd value in the array.

1st value is https and 2nd value shows "blank"


Viewing all articles
Browse latest Browse all 230663

Trending Articles