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

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 168455

Trending Articles