repost from microsoft.public.programming.vbscript (Due to lack of posts in
that NG)

Anyway of scripting all servers in the domain to determine nic speed?
(Mostly Broadcom nic's but some others NICS apply such as 3com and
Intel) I am using 2000 Server and 2003 server. We need to set our
cards to 100/full and I am worried I might have missed a few. (There
are hundreds of them..)

It seems to only show up in a GUID so I was wondering if there was some
way to determine which GUID both nics are in on each server.

An additional help would be if you knew of a way to determine the
'linked' or 'active' nic. (Perhaps WMI? or remote reg queries?)

Thank you in advance.

Re: repost - 100/full auto?? by Ato

Ato
Thu Jun 23 04:08:29 CDT 2005

See if my prior post is helpful:

http://www.servernewsgroups.net/group/microsoft.public.windows.server.scripting/topic576.aspx

Regards,
Ato

"Anthony" <antgoodlife@nospam.comcast.net> wrote in message
news:eKp6UL6dFHA.1136@TK2MSFTNGP12.phx.gbl...
> repost from microsoft.public.programming.vbscript (Due to lack of posts in
> that NG)
>
> Anyway of scripting all servers in the domain to determine nic speed?
> (Mostly Broadcom nic's but some others NICS apply such as 3com and
> Intel) I am using 2000 Server and 2003 server. We need to set our
> cards to 100/full and I am worried I might have missed a few. (There
> are hundreds of them..)
>
> It seems to only show up in a GUID so I was wondering if there was some
> way to determine which GUID both nics are in on each server.
>
> An additional help would be if you knew of a way to determine the
> 'linked' or 'active' nic. (Perhaps WMI? or remote reg queries?)
>
> Thank you in advance.
>
>



Re: repost - 100/full auto?? by antgoodlife

antgoodlife
Thu Jun 23 07:53:41 CDT 2005

Hi ato, Thank you for this, I've already compared dumps from registries
before/after change and found that key.. (Thank you though) However, I
need to only obtain the information for the 'active' nic... I'd imagine
I need to compare the NetCfgInstanceId to determine which one is
correct.. am I going down the right track?


Re: repost - 100/full auto?? by Ato

Ato
Thu Jun 23 10:36:25 CDT 2005

This is a multi-part message in MIME format.

------=_NextPart_000_0013_01C577E7.C9CB6CF0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello,

You'll need the following WMI classes/fields:
----------------------------------------------------------------
FROM Win32_NetworkAdapterConfiguration
> Index (1)
> SettingID (2)
> IPEnabled (3)
> Caption
> MACAddress
> IPAddress
FROM MSNdis_EnumerateAdapter
> DeviceName (4)
> InstanceName (5)
FROM MSNdis_LinkSpeed
> InstanceName
> NdisLinkSpeed (6)
----------------------------------------------------------------
NOTES:
(1) Index will link you to the NIC registry entry as it is
equivalent to the 4-digit adapter subkey
(2) SettingID looks like a GUID and is your link to the
MSNdis_ classes. SettingID is equivalent to DeviceName (4)=20
in MSNdis_EnumerateAdapter
(3) IPEnabled indicates whether the adapter is TCP/IP-enabled
(4) DeviceName is equivalent to the SettingID in=20
Win32_NetworkAdapterConfiguration
(5) InstanceName is a common link between the MSNdis classes.
Use it to link to MSNdis_LinkSpeed
(6) NdisLinkSpeed is the operational, negotiated NIC linkspeed which =
could be
different from registry configuration settings

Also, please note that all the information above is based solely on=20
my observations and for the most part, as far as I know, is not =
substantiated
anywhere else.

Regards,
Ato


"antgoodlife" <antgoodlife@gmail.com> wrote in message =
news:1119531220.998441.258680@f14g2000cwb.googlegroups.com...
> Hi ato, Thank you for this, I've already compared dumps from =
registries
> before/after change and found that key.. (Thank you though) However, I
> need to only obtain the information for the 'active' nic... I'd =
imagine
> I need to compare the NetCfgInstanceId to determine which one is
> correct.. am I going down the right track?
>
------=_NextPart_000_0013_01C577E7.C9CB6CF0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1491" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3D"Courier New" size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>You'll need the following WMI=20
classes/fields:</FONT></DIV>
<DIV><FONT face=3D"Courier New"=20
size=3D2>----------------------------------------------------------------=
</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>FROM=20
Win32_NetworkAdapterConfiguration<BR>&nbsp; &gt;=20
Index&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(1)<BR>&nbsp; &gt;=20
SettingID&nbsp;&nbsp;(2)<BR>&nbsp; &gt; IPEnabled&nbsp; (3)<BR>&nbsp; =
&gt;=20
Caption<BR>&nbsp; &gt; MACAddress<BR>&nbsp; &gt; IPAddress</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>FROM =
MSNdis_EnumerateAdapter<BR>&nbsp; &gt;=20
DeviceName&nbsp;&nbsp; (4)<BR>&nbsp; &gt; InstanceName (5)</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>FROM MSNdis_LinkSpeed<BR>&nbsp; =
&gt;=20
InstanceName<BR>&nbsp; &gt; NdisLinkSpeed (6)</FONT></DIV>
<DIV>
<DIV><FONT face=3D"Courier New"=20
size=3D2>----------------------------------------------------------------=
</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>NOTES:</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>(1)&nbsp;Index will link you to =
the NIC=20
registry entry as it is</FONT></DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;equivalent to the=20
4-digit adapter subkey</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>(2) SettingID looks like a GUID =
and is your=20
link to the</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp;&nbsp;MSNdis_ =
classes.=20
SettingID is equivalent to DeviceName (4) </FONT></DIV>
<DIV><FONT size=3D2><FONT=20
face=3D"Courier =
New"><FONT>&nbsp;&nbsp;&nbsp;&nbsp;in&nbsp;</FONT><FONT>MSNdis_EnumerateA=
dapter</FONT></FONT></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>(3) IPEnabled indicates whether =
the adapter=20
is TCP/IP-enabled</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>(4)&nbsp;DeviceName is =
equivalent to the=20
SettingID in </FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp;=20
Win32_NetworkAdapterConfiguration</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>(5) InstanceName is a common =
link between=20
the MSNdis classes.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; Use it to =
link to=20
MSNdis_LinkSpeed</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>(6) NdisLinkSpeed is the =
operational,=20
negotiated NIC linkspeed which could be</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;&nbsp; different =
from registry=20
configuration settings</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Also, please note that all the =
information=20
above is based solely on </FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>my observations and for the =
most part, as=20
far as I know, is not substantiated</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>anywhere else.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>Ato</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>"antgoodlife" &lt;</FONT><A=20
href=3D"mailto:antgoodlife@gmail.com"><FONT face=3DArial=20
size=3D2>antgoodlife@gmail.com</FONT></A><FONT face=3DArial =
size=3D2>&gt; wrote in=20
message </FONT><A=20
href=3D"news:1119531220.998441.258680@f14g2000cwb.googlegroups.com"><FONT=
=20
face=3DArial=20
size=3D2>news:1119531220.998441.258680@f14g2000cwb.googlegroups.com</FONT=
></A><FONT=20
face=3DArial size=3D2>...</FONT></DIV><FONT face=3DArial size=3D2>&gt; =
Hi ato, Thank you=20
for this, I've already compared dumps from registries<BR>&gt; =
before/after=20
change and found that key.. (Thank you though) However, I<BR>&gt; need =
to only=20
obtain the information for the 'active' nic... I'd imagine<BR>&gt; I =
need to=20
compare the NetCfgInstanceId to determine which one is<BR>&gt; correct.. =
am I=20
going down the right track?<BR>&gt; </FONT></BODY></HTML>

------=_NextPart_000_0013_01C577E7.C9CB6CF0--