Highlighted
Hot Shot
Hot Shot

Get VMXNET3 - Network DirectPath I/O Status

Jump to solution

Hello Community, is there a way via script to get all VMs that have DirectPath I/O enabled?

1 Solution

Accepted Solutions
Highlighted
User Moderator
User Moderator

Try like this

Get-VM | Get-NetworkAdapter |

where{$_.Type -eq 'vmxnet3' -and $_.ExtensionData.UptCompatibilityEnabled} |

Select @{N='VM';E={$_.Parent.Name}},Name


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

3 Replies
Highlighted
User Moderator
User Moderator

Try like this

Get-VM | Get-NetworkAdapter |

where{$_.Type -eq 'vmxnet3' -and $_.ExtensionData.UptCompatibilityEnabled} |

Select @{N='VM';E={$_.Parent.Name}},Name


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Highlighted
Hot Shot
Hot Shot

Thanks LucD if I identify some VMs with DirectPath Enabled is there a way to disabled this option as it's not recommended by VMware

your comment are always welcome Smiley Happy

0 Kudos
Highlighted
User Moderator
User Moderator

Sure, see Solved: How to Disable / Enable a VM's Network ... |VMware Communities

Enabling DirectPath I/O would only be advisable in specific cases (VMware mentions VMs with a high packet rate and VMs on a UCS system).
Also, be aware of the many limitations that DirectPath I/O imposes.

I always disable the option.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference