Avatar of fireburn11
fireburn11
 asked on

how to see if a particular patch has been applied to my Esxi host

Hello,

I wouldl like to have powercli script to check if a particular patch has been applied to all of my esxi host.

The patch number is ESXi510-201412101-SG
VMware

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
Alessandro Scafaria

This worked for me:

http://www.lucd.info/2010/06/21/script-esxupdate-query/

Let me know....
fireburn11

ASKER
doesnt work for me , i dont have root username and password to esxi host. I was hoping using powercli to vcenter will give me what I need.
Alessandro Scafaria

I don't know if I'm pushing you anymore.....Can you reset your ESXi root password or you're forced to bypass it?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER CERTIFIED SOLUTION
Uni Kitty

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

ESXi510-201412101-SG from the patch portal is Build Number: 2323236

which is commonly known as ESXi 5.5 U3

https://www.vmware.com/patchmgr/findPatch.portal

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2086288

So what is the current build number of your ESXi 5.5, which can be found, in the Summary Page when checked with vSphere Client.

PowerCLI, why not use the

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/

or use RV Tools - http://www.robware.net/

Both will report the Build Number!