Hi,
Can you help me for to have the version of my virtuel center with a command powershell.
I ask this question because I have vc vsphere 4 and vsphere 5.
when i connect to virtuel center, I would like to know if I am on a virtual center in vsphere 4 or vsphere 5
Thank you for your help
Hi,
(get-view serviceinstance).Content.About.version
or
(get-view serviceinstance).Content.About.Fullname
if you are working with multi mode:
(get-view -Server $global:DefaultVIServers[0] serviceinstance)Content.About.version
would return for the first vc [1] for second etc.
Hi,
(get-view serviceinstance).Content.About.version
or
(get-view serviceinstance).Content.About.Fullname
if you are working with multi mode:
(get-view -Server $global:DefaultVIServers[0] serviceinstance)Content.About.version
would return for the first vc [1] for second etc.
Thank you for uour response
It is exactly what I looked for
