Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Find duplex mode using VBScript

Posted on 2004-10-13
1
Medium Priority
?
1,634 Views
Last Modified: 2008-02-01
Is there a way using VBScript to find the Duplex mode setting for a NIC?  I want to see if our workstations are set to auto-detect, 10Mbps/full, 10Mbps/half, 100Mbps/full, or 100Mbps/half.

Actually, I also want to know how to change the setting.  I don't want it to auto-detect.

Thanks
0
Comment
Question by:meade470
1 Comment
 
LVL 12

Accepted Solution

by:
Mazaraat earned 750 total points
ID: 12303515
Unfortunately there is no "set" way top pull that information it is very specific to the driver for your NIC.  Though it can be done, its just a little different for each NIC and it will use WMI to call for the information.

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter",,48)

or

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapterConfiguration",,48)

But you have to know the name of the field from the individual NIC to get the info...

Post back with your NIC manufacturer and model number
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the applications these days are on Cloud. Cloud is ubiquitous with many service providers in the market. Since it has many benefits such as cost reduction, software updates, remote access, disaster recovery and much more.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question