User`s guide

Table Of Contents
#some operating systems will return columns multiple times
in the result set
if ($task[0] -ne $firstcol)
{
#if we did not find a TaskName column, just tag each
row as Task-n
if ($namecol -gt -1)
{
$clTasks += "<" +
[string](ToCMBase64String($task[$namecol])) + ">"
}
else
{
$clTasks += ("<Task-" + ([string]($i-1)) + ">")
}
for ($j=0;$j -lt $task.count;$j++)
{
#skip the hostname field, since we are doing a
local inspection
if (-not($j -eq $hostcol))
{
$clTasks += ("<" + $cols[$j] + ">")
$clTasks += $task[$j]
$clTasks += ("</" + $cols[$j] + ">")
}
}
#if we did not find a TaskName column, just tag each
row as Task-n
if ($namecol -gt -1)
{
$clTasks += "</" +
[string](ToCMBase64String($task[$namecol])) + ">"
}
else
{
$clTasks += ("</Task-" + ([string]($i-1)) + ">")
}
vCenter Configuration Manager Installation and Getting Started Guide
102 VMware, Inc.