Microsoft’s scripting language modeled on Visual Basic

VBScript Icon

Creating a SQL Login (for a Windows Login or Group)

Creates a SQL login for a given Windows user login or group name.

VBScript Icon

Converting WMI Dates

Converts a WMI Date Time value to a standard date time value. Visual Basic ‘Here, computer is the computer name to convert a WMI date. Computer = “.” Set objDT = CreateObject(“WbemScripting.SWbemDateTime”) Set objWMI = GetObject(“winmgmts:” & Computer & “rootcimv2”) Set objOS = objWMI.ExecQuery(“Select LocalDateTime ” & _ “from Win32_OperatingSystem”)...

VBScript Icon

Connecting to a SQL Server

Makes a connection to the specified SQL server.

VBScript Icon

Adding an MMC Snapin

Opens the MMC console and then loads the specified snapin.

VBScript Icon

Activating Windows

Activates Windows on the computer name you specify.

Script detects infected files

In May of 2000 I was consulting for the McGowan Consulting Group (a.k.a. Strategic Business Systems) as one of two network administrators for Sikorsky Aircraft – Comanche Project.  I was still recovering from the work involved with preparring for Y2K and looking forward to see the movie “Gladiator” when I was forced...