Jump to content

lascard

Members
  • Content Count

    0
  • Joined

  • Last visited

Community Reputation

3 Neutral

About lascard

  • Rank
    Newbie
  1. Wow ! So many thanks for this hard to find because too quicky deleted by rightholder Great jobs Have a nice summer !
  2. Thank you to share with us this so valuable knowledge
  3. Hi! take a look on the VMware sections and you could get it
  4. @cagg hum I don't know ! Got the same "blue" in winrar but my pdf reader (foxit) open it without problem so...
  5. Well amazing share ?! but anyone got the ppt ?
  6. like this one ? # Lab 8 - Damage 1 # ava 17/1/10 mod to server from +54 to +51 for VL # ava 04/04/10 added disconnect cls write-host "******************************************************************" write-host "* Damage 1 selected -- set the vmk1 on both VMotion interfaces *" write-host "* to the same address *" write-host "* *" write-host "* Students correct the address of the vmk1 port on the ESXi *" write-host "* in order to get VMotion and DRS back online. *" write-host "* Other important notes: *" write-host "* 1. Ignore yellow warnings about certificates.this is a normal *" write-host "* message which cannot be surpressed. *" write-host "*****************************************************************" # Clear screen # ******************* Get kit number and load XML file data *** &./Build_target_list.ps1 # $t = Get-Content C:\ESXhosts.txt write-host " " write-host "Targets:" write-host "VC`t`t`t ESX Target`t`t ESXi Target" foreach( $TargetPair in $t.Targets.TargetPair) { write-host $TargetPair.VC "`t" $TargetPair.ESX "`t" $TargetPair.ESXi #write-host "ESX Target is " $TargetPair.ESX #write-host "ESXi Target is " $TargetPair.ESXi #write-host "VC Target is " $TargetPair.VC } $List_good = "go" $ans = read-host("Continue and use this list? Y/N") If (($ans -eq "n") -or ($ans -ne "y")) { write-host "Halting -- Wrong Targets" $List_good = "stop" } if ($List_good -eq "go") { foreach( $TargetPair in $t.Targets.TargetPair) { $vc = $TargetPair.VC $vcpass = $TargetPair.VCpass $root = $TargetPair.Root $ESXHost = $TargetPair.ESX $ESXiHost = $TargetPair.ESXi [int]$hostnum = $TargetPair.HostNum Write-host "Damaging " $ESXHost connect-viserver -server $vc -username administrator -password $vcpass | out-null get-vmhost $ESXHost | out-null $net = get-vmhostnetwork -VMHost $ESXHost $vnic = $net | select-object -expandProperty VirtualNic $tnic = $vnic | Where-Object { $_.DeviceName -eq "vmk1" } # ava [int]$badoct = $hostnum + 54 [int]$badoct = $hostnum + 51 # ava $badip = "192.168.1." + $badoct # write-host "Bad IP is " $badip " bad oct is " $badoct " host num is " $hostnum # $ans=read-host("cont") $tnic | set-VMHostNetworkAdapter -IP $badip -SubnetMask 255.255.255.0 | out-null disconnect-viserver * -Confirm:$false -ErrorAction silentlycontinue # ava 04/04/10 } # Target-pair loop } # list-good loop # .501
  7. It was a good post but a moth******** was ther and links killed by RS hope i'll find another way to get it but thx it 's always welcome a good technet
  8. thanx but a jealous guy already give it to RS and it's banned
×
×
  • Create New...