▶ Using PowerCLI to get the IP address of a VM (vSphere)

Here is a simple but handy PowerCLI one liner which can output the VM name and it’s IP address. Connect-VIServer  <name> <credentials> Get-VM $VM | Select Name, @{N="IP Address";E={@($_.guest.IPAddress[0])}} or get-vmguest $VM | select VM,IPADDRESS VM                IPAddress --                  --------- vmname      {192.168.1.35, <ipv6 address>}

▶ Package Management from command line with Puppet

Just on the command line with puppet apply [root@server1 ~]# puppet apply –verbose –execute ‘package { openssl: ensure => latest }’ Info: Loading facts Notice: Compiled catalog for server1.us-west-2.compute.internal in environment production in 0.57 seconds Warning: The package type’s allow_virtual parameter will be changing its default value from false to true in a future release.

▶ VMware KB: Configuring disks to use VMware Paravirtual SCSI (PVSCSI) adapters

This article includes supplemental information about configuring and using VMware Paravirtual SCSI (PVSCSI) adapters. PVSCSI adapters are high-performance storage adapters that can result in greater throughput and lower CPU utilization. PVSCSI adapters are best suited for environments, especially SAN environments, where hardware or applications drive a very high amount of I/O throughput.The VMware PVSCSI adapter

▶ Bash tips: Colors and formatting (ANSI/VT100 Control sequences)

Bash tips: Colors and formatting (ANSI/VT100 Control sequences) The ANSI/VT100 terminals and terminal emulators are not just able to display black and white text ; they can display colors and formatted texts thanks to escape sequences. Those sequences are composed of the Escape character (often represented by ”^[” or ”<Esc>”) followed by some other characters: ”<Esc>[FormatCodem”. In Bash, the <Esc> character can be obtained