PowerShell: Get Network Adapter MTU
Need to check the MTU (Maximum Transmission Unit) size configured on a network adapter - for troubleshooting fragmentation issues or confirming a network configuration? This one-liner pulls it straight from the system.
Prerequisites:
- Privileges: None
- Module: Built-in, no import needed
Quick Command:
Get-NetAdapter | Select-Object Name, MtuSize
Example Output:
Name MtuSize
---- -------
Bluetooth Network Conn. 1500
Wi-Fi 1500
Ethernet 1500
📦
Want all of them at once?
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
Get every free one-liner from this blog in a single downloadable bundle organized by category, each with full comment-based help. No more copy-pasting one at a time.
How It Works:
- Get-NetAdapter returns every network adapter recognized by the system, alongside its configured MTU.
- MtuSize shows the maximum packet size (in bytes) the adapter will send without fragmenting it - 1500 is the standard default for Ethernet and Wi-Fi, based on the original Ethernet specification.
- A mismatched MTU between two communicating devices (e.g. one set higher than the network path supports) can cause packet fragmentation or connectivity issues, particularly over VPNs or certain network configurations.