VMware VCM 5.3 - TRANSPORT LAYER SECURITY IMPLEMENTATION Betriebsanweisung Seite 100

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 272
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 99
###########################################################################-
##
function ToCMBase64String([string]$input_string)
{
return [string]("cmbase64-" +
[System.Convert]::ToBase64String([System.Text.Encoding]::UNICODE.GetBytes
($input_string))).replace("=","-")
}
###########################################################################-
##
[string]$cihash | out-null
#create a hashtable to check for duplicate rows
$hasharray = @{}
$clTasks = ("<Scheduled_Tasks>")
$split = [char]3
$schtasks = schtasks /query /v /fo:csv
if ($schtasks.count -gt 1)
{
#depending on OS, the first row may be blank
#use $k to determine whether to start at the first or second row
if ($schtasks[0] -eq "")
{
$k = 1
}
else
{
$k = 0
}
$cols = $schtasks[$k].substring(1,$schtasks[$k].length-
2).replace(""",""",$split).split($split)
#find the HostName and TaskName columns
$hostcol = -1
$namecol = -1
$j = 0
while (($j -lt $cols.count) -and (($hostcol -eq -1) -or ($namecol -eq
-1)))
{
vCenter Configuration Manager Installation and Getting Started Guide
100 VMware, Inc.
Seitenansicht 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 271 272

Kommentare zu diesen Handbüchern

Keine Kommentare