lamw / vmware-scripts

Various scripts for VMware based solutions
http://www.williamlam.com/
BSD 2-Clause "Simplified" License
859 stars 489 forks source link

add VerifyESXiMeltdownAcceleration.ps1 #54

Closed adarobin closed 6 years ago

adarobin commented 6 years ago

This adds a file named VerifyESXiMeltdownAcceleration.ps1 containing 2 functions Verify-ESXiMeltdownAccelerationInVM and Verify-ESXiMeltdownAcceleration.

It does checks for PCID and INVPCID similar to the Spectre checks and lets you know if a host or a VM supports hardware acceleration for the Meltdown mitigation.

I wrote it for myself, but it also closes https://github.com/lamw/vghetto-scripts/issues/52