Automation

 View Only
  • 1.  DirectPath IO

    Posted Jul 19, 2013 01:35 AM

    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.



  • 2.  RE: DirectPath IO

    Posted Jul 19, 2013 01:55 AM

    Hello,

    Get-VMHost | Select Name, @{n="DirectPathIOSupported"; e={$_.ExtensionData.Capability.VmDirectPathGen2Supported}}

    Name         DirectPathIOSupported
    ----       ---------------------
    myhost0.dom.com            True



  • 3.  RE: DirectPath IO

    Posted Jul 19, 2013 02:09 AM

    @mattboren that worked.. now to get it out to a text file... thank you!



  • 4.  RE: DirectPath IO

    Posted Jul 19, 2013 03:15 AM

    Alright, good to hear.

    As for getting it to a text file, you can just pipe the output to something like Export-Csv.