Category Archives: VMware

Patching ESX/ESXi using Powercli

By | 20th July 2014

Applying ESX patching using Powercli I always had problem remembering the fields needed for patching ESXi using Powercli. This time I thought I will write it down. Get the command as a variable $cli so that it is easy. PowerCLI C:Program Files (x86)VMwareInfrastructurevSphere PowerCLI> $cli=Get-VMHost myhost.cloudtick.com | Get-EsxCli Run the command to understand the fields… Read More »

ESXi third party bundle installation (async driver)

By | 10th February 2014

One of  the easiest method to install a third party bundle is to use esxcli.  Discovered this while trying to install bnx2 driver. This bundle was installed on a 5.1 GA machine. ~ # esxcli software vib install -d /vmfs/volumes/Softwares/BCM-NetXtremeII-xx.0-offline_bundle-xxxx.zip Installation Result Message: The update completed successfully, but the system needs to be rebooted for… Read More »

Powercli: Getting details of VM in a host/vCenter

By | 18th June 2013

1. Connect the to the server/vc : Connect-VIServer -server 2.List the parameters for which we need the information. e.g. HardDisks,PowerState,host Get-VM | Format-List name,HardDisks,PowerState,host HardDisks                                                                      : {Hard disk 1} CDDrives                                                                       : {CD/DVD drive 1} FloppyDrives                                                                   : {Floppy drive 1} NetworkAdapters                                                                : {Network adapter 1, Network adapter 2} UsbDevices                                                                     : {} Host                                                                           :  mycloudtick1.com Id                                                                             :… Read More »

ESXi Patching in vSphere 5.0/5.1

By | 13th January 2013

Powercli can be used to create Image profiles and rules. This rules can be customized for specific server(as an example taking mac id) Adding the bundle to the software depot. C:Program Files (x86)VMwareInfrastructurevSphere PowerCLI> Add-EsxSoftwareDepot ‘C:Documents and SettingsAdministratorDesktopESXi500-XXXXXXX.zip ‘ Getting the image profile:This will list down the image profile of the Bundle that was added.… Read More »