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.
Tired of filtering through all of Windows' virtual network adapters to find the configuration for the one you want? Try this quick tip.
September 21, 2011
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 }
You May Also Like