Is it possible to create a script to show which ESXi host has directpath IO support in vsphere 5.0u2. I say support because in VC it shows supported or not supported.
Hello, twindude-
Looks like the property on a host object that corresponds to the DirectPath I/O "supported" or "not supported" is in the Capability property. So, something like the following should get the info that you are after:
Get-VMHost | Select Name, @{n="DirectPathIOSupported"; e={$_.ExtensionData.Capability.VmDirectPathGen2Supported}}
The output would be something like:
Name DirectPathIOSupported ---- --------------------- myhost0.dom.com True
How does that do for you?
@mattboren that worked.. now to get it out to a text file... thank you!
Alright, good to hear.
As for getting it to a text file, you can just pipe the output to something like Export-Csv.