Easily run PowerCLI commands as jobs

Overview Start-PowerCLIJobs.ps1 Running commands as jobs is pretty mainstream in Powershell. A simple “Start-Job” or “Invoke-Command -AsJob” will do the trick. However, when PowerCLI is involved it is not as straightforward. If you try to run a command that requires to be connected to a vCenter you will... [Read More]

NSX DFW rule - lost access to vCenter

I was playing with NSX recently and testing the distributed firewall (DFW) that allows for east-west firewalling, aka micro-segmentation. All was going well when I disconnected my brain for a second and added a rule “deny all all” (Yes I know…). Following that moment facepalm I obviously lost access to... [Read More]

Docker in vSphere Part 1 - Introduction

Docker in vSphere : Part 2 - Install and configure vDVS (to come) Overview I am starting a series of articles about running containers on PhotonOS in a vSphere environment with VMware’s implementation of the docker storage driver called “vSphere Docker... [Read More]

Generate a random password in Powershell

I recently needed to generate random password for an PowerCLI automation project. However, although there is a Get-Random cmdlet, it is limited to generate random numbers. Not good enough for a password, so I decided to write my own. This function allows you to choose what types of characters to... [Read More]