List and Remove VIBs from ESXi 5.0 Host

Scenario: I wanted to remove the vcloud director agent from an ESXi host. vCloud director had been removed from the environment so I just wanted to tidy everything up. To do this you need to remove the VIB (VMware Installation Bundle).

Firstly, list all the components on the ESXi host

# esxcli software vib list

This will output a full list of installed VIBs

<snip>

uhci-usb-uhci         1.0-3vmw.500.0.0.469512             VMware  VMwareCertified   –
vcloud-agent          1.5.0-453916                                    VMware  VMwareCertified   2012-09-07
vmware-fdm            5.0.0-623373                                    VMware  VMwareCertified   2012-09-24

</snip>

Then all we need to do is remove the vib.

# esxcli software vib remove -n vcloud-agent