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.
Continue reading ‘Import contacts from a csv file using VbScript’ »
Posts tagged ‘vbs’
These snippets of code shows how to search Active Directory using LDAP to return all domains in the current Forest (based on current authentication).
Continue reading ‘Listing all domains in a forest’ »
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.
Continue reading ‘Active Directory, VbScript & testing group membership’ »
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.
Continue reading ‘IPv4 subnet math with VbScript’ »
This post explains how to identify and report on stale records in a dynamically updated Microsoft DNS zone.
Continue reading ‘Microsoft DNS & stale records’ »
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.
Continue reading ‘VbScript: isMemberOfPartialAttributeSet’ »
Converts an NT user name into a Distinguished Name (object path) in Active Directory using the NameTranslate interface.
Continue reading ‘VbScript: GetObjectDN’ »
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.
Continue reading ‘VbScript: GetStores’ »
Windows 2008 has an improved user interface for DNS. The main console includes details of a records time stamp and whether or not the record is Static. Life isn’t quite so easy with Windows 2003. However, as each static record has a time stamp set to 0 they can be found with a little work.
Continue reading ‘Microsoft DNS & static records’ »