VMware Cloud Community
SCharchouf
Hot Shot
Hot Shot
Jump to solution

Get VMXNET3 - Network DirectPath I/O Status

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

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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
LucD
Leadership
Leadership
Jump to solution

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

SCharchouf
Hot Shot
Hot Shot
Jump to solution

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
LucD
Leadership
Leadership
Jump to solution

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