Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Using Powershell to get NIC settings

$
0
0

I have been searching for this for a while now to no avail.  I need to write a powershell script that returns the specific NIC settings for all NICs on a server.  This is the first leg in a larger process that in turn will record the findings into a database and change any settings that are incorrect to the correct setting.

I need to gather as much info from the NIC as possible.  I know this information is stored in the registry but I am curious to know if it is stored elsewhere?  I am looking for settings like the fiollowing:

Flow Control
Link Speed and Duplex
Large Send Offload
Receive and Transmit Buffer

Among other settings.  Is there any easier way than going through the registry to get this info?  Is it stored anywhere else in windows?  I have looked through the win32_networkadapter and win32_networkadapterconfiguration settings and they do not appear to have what I need.

Thanks in advance for any help, it is greatly appreciated!

Tony


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>