PoshCode Archive  Artifact [9205e317c1]

Artifact 9205e317c1a1c98cc39b3134e11542fab6bc4b7629196b6fe67094d00df0947e:

  • File Hack-ESXi.ps1 — part of check-in [246a851cfa] at 2018-06-10 13:13:28 on branch trunk — Hack your ESXi welcome screen. (user: Carter Shanklin size: 1350)

# encoding: ascii
# api: powershell
# title: Hack ESXi
# description: Hack your ESXi welcome screen.
# version: 0.1
# author: Carter Shanklin
# license: CC0
# x-poshcode-id: 2633
# x-archived: 2014-09-03T23:39:47
# x-published: 2011-04-25T11:05:00
#
# Join Clyde the Sysadmin as he battles clueless bosses, defective hardware, and the inescapable feeling that he’s a hamster on life’s giant hamster wheel.
#
$screen = " You see here a virtual switch.            ------------           ------
                                          #...........|           |....|
                      ---------------   ###------------           |...(|
                      |..%...........|##########               ###-@...|
                      |...%...........###    #                 ## |....|
                      +.......<......|       ###              ### |..!.|
                      ---------------          ###          ###   ------
                                              ---.-----   ###
                                              |.......|####
                                              ---------
.
 Clyde the Sysadmin    St:7 Dx:9 Co:10 In:18 Wi:18 Ch:6    Chaotic Evil
 Dlvl:3  $:120 HP:39(41) Pw:36(36) AC:6  Exp:5 T:1073
"
Set-VMHostAdvancedConfiguration -name Annotations.WelcomeMessage -value $screen