PowerShell for Windows Admins

Aug 26 2010   3:14PM GMT

WMI and Network Adapters: 2



Posted by: Richard Siddaway
Network, PowerShell v2

Ok – just to help out we can do this to see the useful information we need to complete our IPconfig listing

Get-WmiObject -Class Win32_NetworkAdapter -Filter "NetEnabled=’$true’" | Format-List NetConnectionID, Description, MACAddress, Speed

This gets a display like this

NetConnectionID : Local Area Connection
Description     : NVIDIA nForce Networking Controller
MACAddress      : 00:1F:16:63:F5:DF
Speed           : 10000000

NetConnectionID : Wireless Network Connection
Description     : Atheros AR5007 802.11b/g WiFi Adapter
MACAddress      : 00:24:2B:2F:9C:A5
Speed           : 54000000

Notice that the speed is in bits/second

Looks like 54Mb isn’t 56623104 after all.

Comment on this Post

Leave a comment: