Showing posts with label get network adaptor speed using vbscript. Show all posts
Showing posts with label get network adaptor speed using vbscript. Show all posts
Thursday, 2 August 2012
Get Network Adaptor Speed - VBSCript
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\WMI")
Set colItems = objWMIService.ExecQuery("SELECT * FROM MSNdis_LinkSpeed",,48)
For Each objItem in colItems
Wscript.Echo "InstanceName: " & objItem.InstanceName
Wscript.Echo "NdisLinkSpeed: " & objItem.NdisLinkSpeed/10000 & " mbps"
Next
Subscribe to:
Posts (Atom)