Accessing the VMWare API to retrieve Virtual Machine Properties.
This post is going to be about using simple object collectors to get a list of virtual machines on a given host. Now, there are a couple of ways to do this, namely using traversal objects, but for this post, we are going to keep it simple. We will get to the TraversalSpec object in some later posts, so we will revamp this code at that time. For now, I am going to focus on creating simple collector objects so we can us them as building blocks. Disclaimer: I know there are some flaws in the code below, mainly traversing...
[Read More]