I'm trying to use the Vix API and i'm trying to receive some information of the virtual machines i'm working on. The information i need is the domain to which the VM is connected, and the list of users that are registered (i.e., have access) to the specific VM. I tried using 'google' and the documentation (https://www.vmware.com/support/developer/vc-sdk/visdk2xpubs/ReferenceGuide/) but i can't find how to get this information. Tried to allocate a few objects that might contain the the domain, but it didn't help.
Using Vix API to get VM's domain and users' list
432 Views Asked by Nisim Naim At
1
There are 1 best solutions below
Related Questions in VMWARE
- mkssecreenshotmgr taking a screenshot
- How can you get and update tags for a given VM using vCenter APIs?
- Moving Template or OVA to Datastore using vCenter API
- Azure Site Recover - Powershell Create Recovery Plan from Vmware to Azure
- .ova file to run in a Docker container
- I want to configure a report for specific VM in vrops/aria
- Unable to make itext5 pdf watermark non removable in VMware Workspace ONE Boxer email
- On the VMware. Unable to paste exe from a virtual machine to another virtual machine
- Need to retrieve vmware instance UUId for multiple instances
- Need to recover expired license on vmware API
- Azure Site Recovery - VMware to Azure - a few issues
- How to pass variables of deployed VM (vmware_guest) to roles for further config
- NumPad Not Working in Windows 10 VM on VMware Player with Bluetooth Keyboard
- Get the value from the dict in JSON output stored in a variable
- How to get the value from key `datacenter` from a JSON output which is stored in an variable?
Related Questions in VIX
- Python VIX script throws exception after VMWare Worokstation upgrade
- Failed to open virtual machine
- Python VIX API run in guest vmware workstation
- Wix - How to run/install application without UI
- VMWare guest tools (vixtools) API is not finding the system /tmp directory
- VM powered on by VIX API automation shuts down unexpectedly during large file copy on ESXi 6.0 server
- VIX API clone call - the operation is not supported for the specified parameters
- Visual Studio Shell 2015 does not use custom icons in solution explorer
- Vix vmrun doesn't work with VMware Player
- Using Vix API to get VM's domain and users' list
- VixVM.LoginInGuest failure or insufficient permissions in guest operating system
- VMWARE VSphere VIX clone function
- Connecting to VMWare Workstation using VMWare VIX
- How can I use Vix API command line client without typing plaintext password?
- Invoke-VMScript Object reference not set to an instance of an object.from VMware.VimAutomation.ViCore.Impl.V1.VixHelper.GetVixVersion()
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I'm not sure if this will help you, but below is an extract from a small Delphi project (which uses the same Vix COM/OLE interface as vbScript) which retrieves the current user name from the Environment of a Win7 VM. Hopefully the code would be straightforward to translate to vbScript or VBA. Obviously, you can retrieve the value of any other Environment variable, such as the User Domain, in a similar way.
I've had quite a thorough look through the Vix COM API and have not found anything which would retrieve a list of available login IDs for a VM. So, if I had to do this, I'd write a small utility app to run in the VM to get them. (You may know already, but it's straightforward to run an app in the VM via the Vix interface.)
Code