-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

PowerCLI Cookbook
By :

Now that you know how to correlate a MoRef back to a VM name, and how to create a DRS group, the next step is to be able to audit and list the members of DRS groups. Getting the list of groups is fairly simple. In fact, you already attempted to do this in the previous recipe. However, the returned information will be in the form of MoRefs for VM or Hosts. You need to convert these so that you can see the membership.
To begin this recipe, you will need a PowerCLI window and an active connection to a vCenter Server. You should also have a virtual machine DRS group created and virtual machines assigned to the group.
In order to audit and list the members of DRS groups, perform the following steps:
To report the members of a DRS group, you can do this with the cluster view object. The first step is to get the cluster view again for the cluster you want to report using the Get-View
cmdlet. The parameter you want to report is in ConfigurationEx...
Change the font size
Change margin width
Change background colour