Link to home
Start Free TrialLog in
Avatar of Sekar Chinnakannu
Sekar ChinnakannuFlag for Singapore

asked on

Powershell Script to find the network card model \ drivers details in windows 2008 server

Need help to get the powershell Script to find the network card model \ drivers details on windows 2008 server.

I used the below command in my server, it show the output, but need to get the list of servers to get same output in excell. Not sure how to create the script for the same.

get-wmiobject win32_networkadapter | select netconnectionid, name, InterfaceIndex, netconnectionstatus

Get-NetAdapter -Name ethernet | fl *
SOLUTION
Avatar of Justin Yeung
Justin Yeung
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Sekar Chinnakannu

ASKER

Don't want to pull all the server s, I  have list of servers in txt file where can I add the list
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
try this command  in powershell as we tried recently

esxcli network nic get -n vmnic0(NIC name)

this will fetch you the details