Specifications

Note: The parameters are optional, meaning that you can show all the items in
your result set. However, it can take a long time to display very large result sets.
Using configuration item references
Many of the operations you can perform with Virtualization Manager can involve
hundreds or even thousands of virtual machines, host computers, and so forth.
Because of this, most Virtualization Manager cmdlets accept and return
"configuration item references." These are pointers to the actual data stored by
SolarWinds Virtualization Manager.
To perform deep inspection of the actual data, use the Get-H9Doc cmdlet:
$xml = Get-H9Result 1 1 | Get-H9Doc
This returns an [xml] object, which can then be traversed and inspected:
PS C:\> $xml.virtualMachine.cpuAllocation
limit reservation shares sharesLevel
----- ----------- ------ -----------
45351 0 500 low
Working with the vSphere PowerCLI
If your are working with both the vSphere and the SolarWinds Virtualization
Manager PowerShell snap-ins, for managed objects that SolarWinds
Virtualization Manager understands (virtual machines, host servers, clusters, data
stores, and applications), you can use the ConvertTo-H9Ref command to retrieve
a configuration item reference for a VMware object. For example:
Get-Vm | ConvertTo-H9Ref | Add-H9List
The previous command retrieves all known virtual machines through the vSphere
PowerCLI, converts each to a SolarWinds Virtualization Manager reference, and
then adds them to the active list.
Cmdlets and scripts
The SolarWinds Virtualization Manager PowerCLI contains several cmdlets that
provide access to a SolarWinds Virtualization Manager server.
289
Using configuration item references