VMware Cloud Community
Shashikant_Gupt
Contributor
Contributor

How to find a installation path of vCenter server 5.5 / 6.0 through programmatically

Hi ,

I am creating a application which will access a Installation path of VCenter , default installation path for the VCenter 5.5  on Windows is C:\ProgramData\VMware\vSphere Web Client\vc-packages\vsphere-client-serenity.

End user can install VCenter on different location like  D:\NewFolder. Here I want to know this path programmatically in  .Net .

As different version of the vcenter has different installation path like:-

VCenter 5.5 on Windows :- C:\ProgramData\VMware\vSphere Web Client\vc-packages\vsphere-client-serenity

VCenter 6.0 on Windows :- C:\ProgramData\VMware\vCenterServer\cfg\vsphere-client\vc-packages\vsphere-client-serenity

VCenter 6.0 on Linux:- /etc/vmware/vsphere-client/vc-packages/vsphere-client-serenity

 

Is there any way to find the VCenter installation path of windows and Linux both through programmatically.

Thanks.

0 Kudos
1 Reply
vyujs
Enthusiast
Enthusiast

Have the same question. Anybody can help?

0 Kudos