Posts Tagged ‘Patch 1’

VMware: Install vSphere 5 update 1 with PowerCLI

March 22nd, 2012 1 comment

Today I’ve updated my vSphere 5 hosts witch patch 1 released one week ago. Before I started the build number was VMware ESXi 5.0.0 469512:


To update the host I used PowerCLI, the code:

Get-VMHost esx02.vmpros.lan | Set-VMHost -State Maintenance
$DataStore = Get-VMHost esx02.vmpros.lan | Get-Datastore ESX02_VMFS01
Copy-DatastoreItem C:\vmpros\patch1\ $DataStore.DatastoreBrowserPath -Recurse
Get-VMHost esx02.vmpros.lan | Install-VMHostPatch -Hostpath "/vmfs/volumes/ESX02_VMFS01/patch1/"

The script will upload the content of the located at your local computer (which runningĀ  PowerCLI) to the selected datastore. Then the update installation will start.

Update installation process:


WARNING: The update completed successfully, but the system needs to be rebooted for the changes to be effective.

Read more…


Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.

More Posts - Website

Follow Me: