PoshCode Archive  Artifact [f13fff88f1]

Artifact f13fff88f1f12160b357bdddab0abde29e40762b99d30d4214ccdcf53d0bbd49:

  • File Hack-ESXi.ps1 — part of check-in [11940acf02] at 2018-06-10 12:58: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: 1556
# x-archived: 2014-09-02T18:28:51
# x-published: 2010-12-22T13:20: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