The VBScript Network and Systems Administrator's Cafe:

Development


May 4, 2009  5:10 PM

VBScript Statements: Explanation of the Execute Statement



Posted by: Jerry Lees
execute, execute statement, VBScript, VBScript Statements, vbscriptstatements

The VBScript Execute statement allows you to execute a series of VBScript statements as a block from within a VBScript Script. By itself it doesn't sound terribly appealing... after all, Executing a series of VBScript statements is what you do inside a VBScript file. However, if you consider...

May 2, 2009  6:19 PM

Using the VBScript datediff function to determine the age of a file by the last modified and the last accessed time



Posted by: Jerry Lees
Disk space, disk utilities, file access, file modified, modification date, System Administration, VBScipt, VBScript Functions

I recently needed a way to tell if a file had been accessed or modified recently, something that has always been a question when you're out of space on a server and can't just add more space to it. What do you delete??? The Old files are the obvious answer... except if people are using...


April 20, 2009  1:44 PM

Parsing the Windows Event log for specific data



Posted by: Jerry Lees
Eventlogs, System Administration, systems management, VBScript, Win32_NTLogEvent

If you've ever tried to find a specific event log entry in a system you know what a chore it can be to find them. Sure, you can filter on the event ID and get closer but, some applications (and system components) log every event that's from the same source as the same event ID. IIS is terribly...


April 13, 2009  3:18 PM

Finding the owner of a process remotely with VBScript via the Win32_process class



Posted by: Jerry Lees
Administration tools, Functions, System Administration, Systems Administration, VBScript, VBScript Functions, win32_process, Windows Management Interface, WMI

 Recently I had an issue where I needed to find the user running a series of processes on a large number of servers. Initially, it was a long process of logging onto each server then opening task manager and sorting by process name. After about 5 servers, I realized it was going to take hours to...


April 9, 2009  4:23 PM

Writing a BGINFO like Script: Displaying IP Address settings with WMI via the Win32_NetworkAdapterConfiguration class



Posted by: Jerry Lees
bginfo, Systems Administration, Systems administrator tools, systems management, systems reporting, VBScript, VBScript Functions

I recently had to provide the information displayed with BGINFO on a number of systems. Unfortunately, BGInfo only generates a bitmap, so far as I know, so I decided to write a script to generate the...


April 7, 2009  4:23 PM

Writing a BGINFO like Script: Displaying Operating System Information with WMI via the Win32_OperatingSystem class



Posted by: Jerry Lees
bginfo, Systems Administration, Systems administrator tools, systems management, systems reporting, VBScript, VBScript Functions

I recently had to provide the information displayed with BGINFO on a number of systems. Unfortunately, BGInfo only generates a bitmap, so far as I know, so I decided to write a script to generate the...


April 2, 2009  1:23 PM

Writing a BGINFO like Script: Displaying Page File information with WMI via the Win32_Pagefile class



Posted by: Jerry Lees
bginfo, Systems Administration, Systems administrator tools, systems management, systems reporting, VBScript, VBScript Functions

I recently had to provide the information displayed with BGINFO on a number of systems. Unfortunately, BGInfo only generates a bitmap, so far as I know, so I decided to write a script to generate the...


March 31, 2009  1:22 PM

Writing a BGINFO like Script: Displaying Memory information via WMI using the Win32_PhysicalMemory class



Posted by: Jerry Lees
bginfo, Systems Administration, Systems administrator tools, systems management, systems reporting, VBScript, VBScript Functions

I recently had to provide the information displayed with BGINFO on a number of systems. Unfortunately, BGInfo only generates a bitmap, so far as I know, so I decided to write a script to generate the...


March 30, 2009  4:13 PM

Writing a BGINFO like Script: Displaying Processor information with WMI via the Win32_Processor class



Posted by: Jerry Lees
bginfo, Systems Administration, Systems administrator tools, systems management, systems reporting, VBScript, VBScript Functions

I recently had to provide the information displayed with BGINFO on a number of systems. Unfortunately, BGInfo only generates a bitmap, so far as I know, so I decided to write a script to generate the...


March 25, 2009  2:49 PM

Writing a BGINFO like Script: Displaying MAC Address information with WMI via the Win32_NetworkAdapter class



Posted by: Jerry Lees
bginfo, Systems Administration, Systems administrator tools, systems management, systems reporting, VBScript, VBScript Functions

I recently had to provide the information displayed with BGINFO on a number of systems. Unfortunately, BGInfo only generates a bitmap, so far as I know, so I decided to write a script to generate the...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: