Category Archives: Scripting

PHP, Batch, VBScript, JavaScript etc.

Extract all mail enabled groups with PowerShell and ADSI

I’ve just finished off this first attempt at an actual useful PowerShell script. This should extract all Mail Enabled groups – that’s both security and distribution groups – and present them in a human readable format. Though I’ve played with … Continue reading

Posted in Scripting | Leave a comment

Sending CDO.Message with importance

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 … Continue reading

Posted in Scripting | 12 Comments

Searching Active Directory with ADSI and VBScript

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 … Continue reading

Posted in Scripting | 2 Comments

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

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 … Continue reading

Posted in Scripting | 2 Comments

Offer Remote Assistance in Windows XP Professional

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… Continue reading

Posted in Scripting | 15 Comments

List installed programs (VBScript)

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. Continue reading

Posted in Scripting | Comments Off

Searching Active Directory (VBScript)

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 … Continue reading

Posted in Scripting | 1 Comment

Using ADO & PHP to query a CSV file

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. Continue reading

Posted in Scripting | 2 Comments