PoshCode Archive  Artifact [90b2ec1af7]

Artifact 90b2ec1af76fe6f2cc595034524e521f03a604f84b5d216148b5f2e0d2d7cf72:

  • File Hack-ESXi.ps1 — part of check-in [0a574bb411] at 2018-06-10 13:34:27 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: 4005
# x-archived: 2014-09-03T23:39:57
# x-published: 2014-03-08T20:52: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