VMware VCENTER CONFIGURATION MANAGER 5.3 - VCENTER DISCOVERED MACHINES IMPORT TOOL GUIDE Guide d'installation Page 95

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 240
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 94
if (([string]$cols[$j]).toupper() -eq "HOSTNAME")
{
$hostcol = $j++
}
else
{
if (([string]$cols[$j]).toupper() -eq "TASKNAME")
{
$namecol = $j++
}
else
{
$j++
}
}
}
#save first column name, to check for repeated column rows
$firstcol = $cols[0]
#encode each column name
for ($j=0;$j -lt $cols.count;$j++)
{
$cols[$j] = [string](ToCMBase64String($cols[$j]))
}
#loop through each row
#start at $k+1, because the first row may blank, and the first
populated row is column names
for ($i=$k+1;$i -lt $schtasks.count;$i++)
{
#make sure this is a data row
$row = ([string]($schtasks[$i])).trim()
if ($row.contains(""","""))
{
#split the row
$task = $schtasks[$i].substring(1,$schtasks[$i].length-
2).replace(""",""",$split).split($split)
Configuring Windows Machines
VMware, Inc.
95
Vue de la page 94
1 2 ... 90 91 92 93 94 95 96 97 98 99 100 ... 239 240

Commentaires sur ces manuels

Pas de commentaire