PoshCode Archive  Artifact [025b6e8e51]

Artifact 025b6e8e51c75ba9c12815a4e7f1d6fc1cf73d13090bb3ea3984f72753c78168:

  • File Hack-ESX-MOTD.ps1 — part of check-in [b6a6df54ca] at 2018-06-10 13:03:14 on branch trunk — Hack your ESXi welcome screen. (user: Halr9000 size: 1315)

# encoding: ascii
# api: powershell
# title: Hack ESX MOTD
# description: Hack your ESXi welcome screen.
# version: 0.1
# author: Halr9000
# license: CC0
# x-poshcode-id: 1950
# x-archived: 2010-07-17T18:33:44
#
# 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