Specifications

Appendix B: Using PowerCLI
Area Cmdlet Description Syntax Example
cmdlet loads the list into
the active list. You can
retrieve the contents of
the active list with the
Show-H9List command.
2008 list" to the
active list: Get-
H9Content
SavedList "VM
2008 list" |
Set-H9List
Clear-H9List Removes all items from
the active list.
Clear-H9List [<Com-
monParameters>]
Clear-H9List
Label man-
agement
Set-H9Label Applies a label to a con-
figuration item (Virtual
Machine, Host, Datastore,
or Cluster). If the label
key already exists, the
cmdlet overwrites the
value for the target object.
If the key does not exist,
the cmdlet creates the
key first.
Set-H9Label [-Label] <String>
[-Value] <String> [-CiRef]
<ConfigurationItemReference>
[<CommonParameters>]
Adding the "OS"
label with the
value "Win-
dows" to the vir-
tual machine
called "Virtual
Machine Test":
Set-H9Query
"Virtual
Machine Test"
VirtualMachine
$vm = Get-
H9Result
296