Skip to content

Instantly share code, notes, and snippets.

View virtualex-itv's full-sized avatar
:electron:
"I drink and I know things" ~Tyrian Lanister

Alex López virtualex-itv

:electron:
"I drink and I know things" ~Tyrian Lanister
View GitHub Profile
###########################################
# Get VMware Workstation License Key #
# https://kb.vmware.com/s/article/1000069 #
# #
# Author: virtualex (Alex Lopez) #
###########################################
$softwareName = 'VMware Workstation'
Write-Host -F Yellow Retrieving $softwareName Pro License Key...`n
@virtualex-itv
virtualex-itv / install_docker_in_ubuntu_20-04+.sh
Last active February 6, 2023 21:47 — forked from pablodz/install_docker_in_ubuntu_21-10.sh
Install Docker in Ubuntu 20.04+, Install Docker-Compose on Ubuntu 20.04+
#!/bin/bash
# Copyright (c) Alex Lopez 2023
# All rights reserved
# vim: tabstop=4 shiftwidth=4
# [OPTIONAL] Uninstall old docker versions
sudo apt-get remove docker docker-engine docker.io containerd runc
# Refresh latest version
sudo apt-get update
@virtualex-itv
virtualex-itv / Update-AUPackages.md
Last active April 25, 2024 00:05
Update-AUPackages Report #powershell #chocolatey
@virtualex-itv
virtualex-itv / ovt_install.sh
Last active January 21, 2020 15:56
Automated install of open-vm-tools from GitHub
#!/bin/bash
# Copyright (c) Alex Lopez 2019
# All rights reserved
# vim: tabstop=4 shiftwidth=4
#
# An installer script for open-vm-tools
#
# Note: place script in users $HOME dir and make it executable
#
# Requires:
@virtualex-itv
virtualex-itv / KS.CFG
Created July 10, 2019 21:57
Automated ESXi Installation to USB using Kickstart
# All credit goes to William Lam (@lamw)
# https://www.virtuallyghetto.com/2019/07/automated-esxi-installation-to-usb-using-kickstart.html
vmaccepteula
install --firstdisk=usb --overwritevmfs --novmfsondisk
reboot
network --bootproto=static --ip=192.168.30.13 --netmask=255.255.255.0 --gateway=192.168.30.1 --hostname=hades-canyon.primp-industries.com --nameserver=192.168.30.1 --addvmportgroup=1
rootpw VMware1!
Function prompt {
# https://github.com/dahlbyk/posh-git/wiki/Customizing-Your-PowerShell-Prompt
$realLASTEXITCODE = $LASTEXITCODE
Write-Host
If ($PSVersionTable.PSEdition -eq 'Core') {
Write-Host '(Core) ' -NoNewLine
}
Write-Host "[" -NoNewLine