PoshCode Archive  Artifact [ed20c71502]

Artifact ed20c71502469fb2a7cbcc99c30df040aa6645eb5eec2acf0422a9235c459cbc:

  • File Hack-ESXi.ps1 — part of check-in [b62b32931e] at 2018-06-10 13:54:33 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: 5389
# x-archived: 2014-09-02T00:36:00
# x-published: 2014-08-30T19:19: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