Specifications
Area Cmdlet Description Syntax Example
Set-H9Label
"OS" "Windows"
$vm
Get-H9Label Returns a list of labels
and values for the spe-
cified configuration item
(Virtual Machine, Host,
Datastore, or Cluster) ref-
erence.
Get-H9Label [-CiRef] <Con-
figurationItemReference> [<Com-
monParameters>]
Retrieving the
labels from vir-
tual machines
that are saved in
the $vm variable:
Get-H9label$vm
Clear-H9La-
bel
Removes a label or all
labels from a con-
figuration item (Virtual
Machine, Host, Datastore,
or Cluster).
Clear-H9Label [[-Label]
<String>] [-CiRef] <Con-
figurationItemReference> [<Com-
monParameters>]
Removing the
label "OS"
saved in the $vm
variable from
the virtual
machine: Clear-
H9Label "OS"
$vm
Notes New-H9Note Creates a new note for
the specified con-
figuration item references
[-Text] <String> [-CiRef] <Con-
figurationItemReference> [<Com-
monParameters>]
Adding the note
"Testing note" to
the virtual
297
Using cmdlets