c# Simple CreateVM like PowerCLI command
Hello,Main-Problem:I need to dev a Webpage to create VMs in our vSphere. For Info: In the enviroment we have multiple clusters with multiple hosts with many VMs. We alrady have the following...
View ArticleHow to add an item to "Tasks (Console)" of vSphere Web Client
Hi all, I am a total newbie in VMware SDK developing. I am trying to track action progress for my extension (plugin) using the Task Console but I could not find any sample code to help. I tried to...
View ArticleHow to wait a task after cloning VM with VMWare.vim.dll ?
Hello everybody, I work on a web interface which manage virtual machines on vsphere Esx 5.5. My interface is based on .net web forms (not MVC)I followed jeffpaton posts (using VMware.Vim ) which...
View ArticleHow to get IP address of vCenter Server?
I want to get IP address of vCenter Server from my plugin. But from vimObjectReferenceService, I only can get host name of vCenter Server (something like vc01.example.local). Is there anyway to get IP...
View Articlelock vsepehe
Hello we used vcenter server lock it We removed it vcenter but not unlock server on vcenter now we can not login to vSphere it massage locked please help me
View ArticleHow to create a VI 2.5 client plugin
This is not a replacement for the white paper I am writing that describes VI client plugin development. Consider this a "BSG: Razor" tactic. Yes, the real product is coming, this is just to tide you...
View ArticleVSphere Java SDK: How to get the time when Virtual Machine was powered off
VSphere Java SDK: How to get the time when Virtual Machine was powered off For getting Powered on Time, I am using vm.getRuntime().getBootTime().getTime(); Problem is as per VM docs bootTime property...
View ArticleHow to get VirtualMachine moid
I just started working with the MOB and learning about MOID's. I was hoping to get the VirtualMachine MOID. We have ESXi hosts with free license. Any way to get this? I just want to execute...
View ArticleGet specific folder when there are multiple folders with the same name
Hi. I'm trying to resolve a similar issue as described here:Folder by Path - LucD notes However, I'm trying to use the vSphere API to resolve the issue. Trying to run the following code will display...
View ArticleHello, I have a question about creating users or groups in vCenter Server
Firstly, my main programming language is Java.Do you guys know how to create a user or group in the vCenter Server instead of ESXi server which to be needed to use HostLocalAccountManager class from...
View ArticleI have some question about creating users or groups in vSphere Center Server
Firstly, my main programming language is Java.Do you guys know how to create a user or group in the vCenter Server instead of ESXi server which to be needed to use HostLocalAccountManager class from...
View ArticleHow can I control the vSphere API version?
We have recently upgraded to vSphere 6.0I failed to access the vSphere 6.0 specific API calls.According to the documentation, the property that we need to configure for enabling/disabling vSphere HA VM...
View ArticleC# Using Single SignOn (SSPI) for Virtual Center 2.5.0.119598
I am trying to use passthru authentication using SSPI to work in my c# application. Here is a snippet of the code I am trying to get to work. returns a reference for VMware.Vim.SessionManager...
View ArticleHow can I control the vSphere Web Services SDK/API version?
We have recently upgraded to vSphere 6.0I'm using the Web Services SDK for .Net.I failed to access the vSphere 6.0 specific API calls.According to the documentation, the property that we need to...
View ArticleHow can I create a user in VCenter Server, using vim25?
I can create a user account through the web client.But I want to create users, using vim25 SDK(JAVA).I can retrieve user information from UserDirectory(retriveUserGroups method) but I couldn't find the...
View ArticleHow can I bypath the Root CA when using HTML Console?
I want users to see their HTML console directly without installing root CA on their computers. I have been using vim25(JAVA) for developing.Is there a way to bypath the Root CA when using HTML...
View ArticleIs PerformanceManager thread safe?
Hi all,Is this ManagedObject thread-safe? If multiple threads are sharing it, is it ok to make it...
View ArticleAlarmManager.createAlarm() API changes since 6.0
I'm working with vsphere client SDK to integrate functionalities into our management plugin for vmware, recently I find a compatibility issues with API version 6.0 or above: Just noticed some changes...
View ArticleProblem with host name setting when customize a Linux VM
I am customizing an existing vm with Linux OS cloned by VC with VMWare SDK. In the customization, I want to set the host name of that vm in the form of FQDN. I can successfully set the host name as...
View Article