NTFS, WMI, VbScript & listing explicit rights

This script uses WMI to enumerate each access control entry in an NTFS access control list, looking for explicit entries, that is, entries that are not inherited.
more >>

Log file scrubber for IIS

I wrote this script quite a few years ago to reduce the size of IIS log files by removing log entries for trivial requests (based on file extension for the request).
more >>

Import contacts from a csv file using VbScript

Download ContactImport.vbs

This script will create contacts in Active Directory based on a formatted CSV file. It was written to allow automatic synchronisation of contacts using a CSV file as the source.
more >>

Listing all domains in a forest

These snippets of code shows how to search Active Directory using LDAP to return all domains in the current Forest (based on current authentication).
more >>

Active Directory, VbScript & testing group membership

When it comes to testing for group membership in Active Directory with VbScript there are a lot of different options. The following examples intend to demonstrate the basic to the complex.
more >>

IPv4 subnet math with VbScript

At times it can be very convenient to be able to work with IP Addresses and subnetting in VbScript. This collection of functions handles subnet math in VbScript.

A PowerShell version of these functions can be found here.
more >>

Microsoft DNS & stale records

This post explains how to identify and report on stale records in a dynamically updated Microsoft DNS zone.
more >>

VbScript: isMemberOfPartialAttributeSet

This small script will list all attributes listed in the Active Directory Schema which have been set to replicate into the Global Catalog. Inclusion in the Global Catalog is defined by setting the attribute “isMemberOfPartialAttributeSet” to True.
more >>

VbScript: GetObjectDN

Converts an NT user name into a Distinguished Name (object path) in Active Directory using the NameTranslate interface.
more >>

VbScript: GetStores

A VbScript function to retrieve all Exchange Information Stores from Active Directory, returning the results as a Dictionary object containing the store name and store distinguishedName.
more >>