Is there an alternative to Get-NetAdapterRss that can be used on Windows Server 08/03/etc.? I'm looking to query NIC information from servers with a powershell script, but cannot seem to find how to obtain RSS status/information. Is there a way to do this using WMI instead? I believe the box that the servers are using Intel NICs (if that makes a difference).
|
|
This will not work for everyone, but I found that my specific NIC came with a provider for powershell. The namespace I could use was
Intel provides a scripting reference for using the WMI objects that are provided, and gives a brief description of each, in this PDF. Basically, to get RSS information for a NIC, you need to get the IANet_AdapterSettings WMI object, and look at the "Receive Side Scaling" or "Receive Side Scaling Queues".
Once you get this information, you can handle it any way you want. Don't forget you can pipe the output into Get-Member to find methods/properties available for the object. |
|||
|
|
|
Unfortunately there is no easy way to get this as of Win 2008 - you will have to trawl the Registry for it, unless, like EGr, you have vendor drivers that were nice enough to come with a provider for it. In Windows 8 and Server 2012, you will have the MSFT_NetAdapterRssSettingData WMI class, which is what you want. But it's not in Windows 2008. What I mean by trawl the registry is check this key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E972-E325-11CE-BFC1-08002BE10318}\0007 RSS: 1 Still scriptable, just not as simple as a single Powershell cmdlet. |
|||||||
|