October 1, 2008 2:06 PM
Posted by: Jerry Lees
Functions,
Replace,
String manipulation,
VBScript,
VBScript FunctionsRecently, I had a situation at the office where I needed to check a web.config file for the existence of a setting. Not a hard problem-- just open the file up an look for it, however, that becomes a little harder when your talking about 30 servers. So, I scripted it using the replace...
September 13, 2008 11:11 PM
Posted by: Jerry Lees
Functions,
VBScript,
VBScript Functions,
VBScript StatementsThe Function statement creates a function and allows you to list the arguments (if any) which are to be passed into the function.
The major difference between a function and a subroutine, is that a function can return a value. To return a value you...
September 4, 2008 4:01 PM
Posted by: Jerry Lees
Development,
Functions,
monitoring,
Networking,
VBScriptI recently began working on trying to figure out ways to troubleshoot real problems with a VBScript and give me some diagnostic information about the current state of the environment. As I build this script I plan on sharing pieces of it bit by bit with you, my readers. I also wanted to get back to...
June 6, 2008 1:53 PM
Posted by: Jerry Lees
Functions,
regwrite,
regwrite method,
wscript.shellLast time I posted I gave you a function that provided
May 14, 2008 8:58 PM
Posted by: Jerry Lees
Disk usage,
Documentation,
Excel.Application,
File System Object,
FSO,
Functions,
Scripting.FileSystemObject,
system trending,
VBScriptIn my previous posting, entitled
May 9, 2008 5:54 PM
Posted by: Jerry Lees
Functions,
VBScript,
VBScript Statements,
vbscriptstatementsThe Select ... Case VBScript statement is a very powerful way to easily preform specific actions based on a comparison of a variable to a series of cases you specify, plus it allows for the fact that NONE of the cases apply with an optional case else...
May 2, 2008 4:15 PM
Posted by: Jerry Lees
DataManagement,
Documentation,
Functions,
Microsoft.XMLDOM,
VBA,
VBScript,
Word.application,
XMLOK, here is the posting I hinted at in my previous posting this week entitled,
April 25, 2008 1:26 AM
Posted by: Jerry Lees
Error control,
File System Object,
Functions,
Scripting.FileSystemObject,
VBScriptLast time, in my entry entitled
April 17, 2008 8:52 PM
Posted by: Jerry Lees
File System Object,
FSO,
Functions,
Log files,
Scripting.FileSystemObject,
VBScriptWell, I didn't expect the cat to get out of the bag quite so quickly! (Congratulations go out to Stoinov