Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 31st, 2013  |  syntax: Power Shell  |  size: 0.25 KB  |  hits: 90  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $computers = @("Server1", "Server2", "Server3")
  2.  
  3. Get-WmiObject -ComputerName $computers -Class Win32_NetworkAdapter | `
  4. Where-Object { $_.Speed -ne $null -and $_.MACAddress -ne $null } | `
  5. Format-Table -Property SystemName,Name,NetConnectionID,Speed