Category Archives: ESXCLI

ESXi 5.5 – Automating VMFS UNMAP w/ PowerCLI and PowerShell

With vSphere 6.5 recently released, a nice feature was the automated execution of the UNMAP command against thin provisioned datastores to reclaim space. This requires no user interaction, it’s fully automated for you and can free up significant amounts of space from your datastores. There’s some good information regarding the v6.5 release  on these blogs; ESX Virtualization Vladan Seget VirtualizationIsLife  Anthony… Read more »

ESXi – Removing a stubborn Nexus 1000v VIB

      No Comments on ESXi – Removing a stubborn Nexus 1000v VIB

Happened upon an unusual error while wrestling a Nexus 1000v out of a ESXi 5.1 host. All seemed to progress well, the host was removed from the dvs without issue.  The next step was to remove the Cisco vem VIB from the host in preparation for upgrade. esxcli software vib remove -n cisco-vem-150-esx  (or whatever vib name you are removing… Read more »

ESXi – An oldie but a goodie – CDP info via PowerCLI and Host CLI

When you don’t use something for a while, you tend to forget how valuable it can be. Even from its very early iterations, ESXi has been able to display CDP information so you can quickly establish “what’s patched where “.  Easy to get from the gui, but far more useful from the shell or cli. This has been valuable to… Read more »

vSphere/ESXi: When good tasks go bad – Fix with ESXCLI via PowerCLI

Most of the time, tasks we start in vSphere just work. That’s why we love it. Queue ’em up, and move onto something else. Sometimes though, they go bad. They freeze, stick, die or just plain error out. This happened to me last week. After changing the scratch location for hosts in a dev cluster, I planned to reboot them… Read more »

Heads up ! – EMC PowerPath/VE 5.9.1 & VMware ESXi 5.x potential disruption

It’s HEADS UP! time again, as usual courtesy of an EMC TA bulletin. ‘VMware ESXI hosts may become unresponsive after adding or removing LUNs when running PowerPath/VE 5.9.1’ This doesn’t sound like a particulalry fun way to start or end your day so read on if you want to avoid it; Affected Versions; ESXI 5.1 & ESXi 5.5 Powerpath/VE 5.9.1  … Read more »

ESXi – Driver VIB update using ESXCLI

      1 Comment on ESXi – Driver VIB update using ESXCLI

Nothing groundbreaking here folks, but this is a quick and easy way to upgrade the drivers (in this case Network Intel & Broadcom) on your host(s) I’ve done this many times for various reasons: Misbehaving drivers after upgrades, Version control, “’cause I wanna’”. etc Login to your host with the ssh client of choice (putty of course!) and put it… Read more »