The VBScript Network and Systems Administrator's Cafe:

Development


November 21, 2008  7:50 PM

Encryption and Decryption with VBScript



Posted by: Jerry Lees
decrytption, encryption, VBScript

I've always been somewhat interested in encryption, but never been terribly good at understanding the math behind it and couldn't find any example code for doing encryption and decryption with VBScript... so I thought I'd write something that would atleast shield characters in a...

November 10, 2008  4:01 AM

Getting the date and time from a remote system via WMI and the WIN32_LocalTime class



Posted by: Jerry Lees
date, systems management, VBScript, win32_localtime

Recently, after the time change I had to log into around 30 to 40 servers to check that the date was correct. This was a real pain, since it required me to actually log onto the server via terminal services and run a command prompt to issue a date command. Unfortunately, I didn't have a script...


November 5, 2008  4:10 PM

Clean up your toys when your done: Fighting memory leaks in your scripts



Posted by: Jerry Lees
memory leaks, tips and tricks, VBScript, working with objects

One on the things you always want to do when you create objects in your scripts, especially objects from third party companies is, is to always remember to destroy the objects when you are done with them. At the very least, before you exit the script. Object creation and not destroy the objects...


November 3, 2008  4:18 PM

HTTP Status Codes explained for web servers



Posted by: Jerry Lees
HTTP, HTTP Status Codes, http tools, Web applications, Web Pages, web sites, web tools, webmaster

As a web administrator I encounter quite a few instances where a weird HTTP status is returned to a browser.Even using them often it's hard to remember the codes 100% and what they all mean. Sure, a 404 means the file doesn't exist and a 200 is a good response... but what about the harder more...


October 30, 2008  12:00 AM

A new found bug in VBScript that causes if then statements to return wrong comparisons (or is it?)



Posted by: Jerry Lees
Integer, string, Variable Types, variant, VBScript, working with variables

In the past I've cautioned you on always initializing your variables and encouraged you to always declare your variable types, rather than using the default variant type in VBScript. I'll be the first to admit I don't follow my own advice in my examples! However, variants can be...


October 24, 2008  12:30 AM

Using Environment variables inside a VBScript script



Posted by: Jerry Lees
Environment Variables, VBScript, wscript, wscript.shell

As an extension of the theme I've been blogging about lately of "interfacing with other types of applications" in VBScript, I'd like to share with you a snippet of VBScript code that will allow you to read environment variables from your system. This will allow you to determine a great deal of...


October 23, 2008  1:43 PM

A simple way to gather keyboard input from with in a VBScript



Posted by: Jerry Lees
Input, inputbox, User Input, VBScript

While entering data at the command line for a script to use is sometimes helpful like we discussed in  

  Bookmark and Share     0 Comments     RSS Feed     Email a friend


October 17, 2008  11:11 PM

Communicating error levels to a calling application from with in VBScript



Posted by: Jerry Lees
batch commands, Error control, errorlevel, exit, on error, VBScript, wscript, WScript.quit

We've discussed error handling previously (via the On Error Goto 0 command) in a entry titled, Using error control in a VBScript to recover from...

Bookmark and Share     2 Comments     RSS Feed     Email a friend


October 16, 2008  2:53 AM

Consuming and using a web service from within VBScript to create a WHOIS tool



Posted by: Jerry Lees
SOAP, VBScript, Web Pages, Web Service, web sites, web tools, WSDL

Recently I posted a list of web services at a site that were public web services, in the article entitled A Great list of FREE publicly...

Bookmark and Share     0 Comments     RSS Feed     Email a friend


October 10, 2008  7:57 PM

A Great list of FREE publicly available Web Services



Posted by: Jerry Lees
SOAP, Web Pages, Web Service, web sites, web tools, webmaster, WSDL

As an IIS Administrator I have spent quite a bit of time administering web sites and web services in my role where I work. Recently, I have been doing some work with Web Services in IIS to actually monitor them since we needed to do more than just simply monitor the Web Service Definition Language...


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: