Run esxcli commands via PowerCli

Quick post on how to run esxcli commands via Powershell. 1 – Use PowerCli to connect to your Host Connect-VIServer 2 – Save your host as a variable. $myhost = get-vmhost 3 – Save a variable called $esxcli and use the Get-esxcli cmdlet and reference your newly created host variable as the -VMHost parameter. $esxcli… Continue reading Run esxcli commands via PowerCli

Repointing vCenter PSC after PSC Node Failure

A Colleague recently asked me that was the reason in configuring two PSCs with our management environment as they are not fully redundant without a load balancer sitting in front of them in a multi PSC deployment. I explained that there is replication between both PSC’s and in the event of the primary PSC failing that with a simple CLI command… Continue reading Repointing vCenter PSC after PSC Node Failure

Upgrading Hosts beyond ESXi 6.0 U2

With the rollout of ESX6.0 Update 2 (build number 362759) VMware has bundled a new VIB for the VMware VSAN in the update. Previously there was no VSAN VIB  included the ESXi Image and if you trying to upgrade your host using esxcli with this command esxcli software vib update -d “/vmfs/volumes/bnesx03-localstorage/” Tthe process will fail with this error… Continue reading Upgrading Hosts beyond ESXi 6.0 U2