Getting configurations for physical network adapters

Tired of filtering through all of Windows' virtual network adapters to find the configuration for the one you want? Try this quick tip.

Don Jones

September 21, 2011

1 Min Read
ITPro Today logo

Teaching class in rainy Atlanta this week, and a question came up: How can I get the network adapter configuration for just the real, physical network adapters? Here's one way.

get-wmiobject -class win32_networkadapterconfiguration | where-object { (get-wmiobject -class win32_networkadapter -filter "physicaladapter=true" | select -expand name) -contains $_.description }


Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like