VB Script to show user description in BGINFO

I use BGINFO a LOT, in fact, I probably use it at every site I manage. the following script pulls out the user’s description from AD to allow BGINFO to display this. Obviously, you can edit this to show any AD attribute you want… On Error Resume Next Dim objSysInfo, objUser Set objSysInfo = CreateObject(“ADSystemInfo”) Set …

Read moreVB Script to show user description in BGINFO

Displaying Network Adapter Speed with WMI via the Win32 NetworkAdapter class

Quick little script to do the above.. Function GetNetworkSpeed(strComputer) Dim colItems, objItem, address Dim StrQuery Dim objWMIService StrQuery = “SELECT * FROM Win32_NetworkAdapter” Set objWMIService = GetObject(“winmgmts:\\” & strComputer & “\root\CIMV2″) Set colItems = objWMIService.ExecQuery(strQuery,,48) For Each objItem in colItems GetNetworkSpeed = GetNetworkSpeed & vbTab & objItem.ProductName & vbCr Next End Function   Amazon Auto …

Read moreDisplaying Network Adapter Speed with WMI via the Win32 NetworkAdapter class