[PS] VMware ESX Certificate validation

The connection between vCenter and the ESXHost is established and maintained by certificates.

You as an administrator would like to know when you certificates expire.

So I wrote a small function that can help get the certificate used from the hosts that are connected to your vcenter.

The input for this function is a [VMware.Vim.HostSystem] object this is generated with the standard VMware command

Get-view -ViewType HostSystem -Server <vCenterServer>

When the Function is loaded you can use the following small script to get the data out of your vcenter or vcenters.

In my Lab this is generating the following output

 

wvsandwijk

I am a Technical Specialist - Cloud Infrastructures from the Netherlands.
My Skills are mainly PowerShell, VMWare, Hyper-V, Microsoft System Center products and Windows Azure Pack.

I work for a company in Utrecht The Netherlands.