Archive for the 'Scripting' Category

Sending CDO.Message with importance

Friday, June 9th, 2006

Here’s a script, well, a subroutine I wrote today for sending an email with VBSCript using the CDO.Message and CDO.Configuration COM Controls available in Windows. Having struggled a little to actually get it working (mainly through utter stupidity), I thought I’d blog it for anyone else struggling or just needing a quick fix.

Searching Active Directory with ADSI and VBScript

Wednesday, April 12th, 2006

When I’m looking for something in the Active Directory I don’t want to spend 30 seconds clicking [+] boxes to expand trees and manually look for a user or computer object so I created this script to do the job of finding it for me and telling me exactly where I have to go to […]

Remote Scripting: “ActiveX component can’t create object” on WSHController Object

Tuesday, February 28th, 2006

While perusing the WSH 5.6 documentation I happened across a section on Remote Scripting. I imagined Remote Scripting to be possible but it isn’t something that I had seen before in the documentation. I started investigating and so created the scripts as suggested and ran the test.
Straight away I got the “ActiveX component can’t create […]

Offer Remote Assistance in Windows XP Professional

Wednesday, February 15th, 2006

I’ve spent a few hours this morning investigating Remote Assistance in Windows XP Professional. At first glance it looks like a potential VNC killer for the enterprise. Unfortunately, if you don’t look closely enough you’ll quickly dismiss it…

List installed programs (VBScript)

Wednesday, October 5th, 2005

This bit of VBScript will allow you to return a list of applications installed (as seen by Add/Remove Programs). The function returns a simple Array.

Searching Active Directory (VBScript)

Friday, September 30th, 2005

If, like me, you have been left irritated by the search function in Active Directory Users and Computers simply not telling you WHERE a particular user or computer actually is, simply use this bit of code. It allows you to search through AD for users or computers and returns a list of what it finds […]

Using ADO & PHP to query a CSV file

Sunday, September 18th, 2005

Using ADO and PHP to connect to a comma separated values (.csv) file to extract information using SQL queries and see the output as an HTML table.

Learning Windows Scripting.. pff

Tuesday, September 13th, 2005

When one is learning from a book, does one expect the code that one is learning from to be not just incorrect but non-existant too? I think not.