New Script – Group Name and Member Count

I’ve been reading a thread on the activedir.org mail list over the past few days that talked about finding groups with no members using ADFIND. I’ve posted a new script that will do this with VBScript by listing all groups and their member count. ADFIND can do the same thing, but with VBScript I’ve found it’s easier to tie one task to another and perform modifications on groups if necessary. (ie: find all groups with 0 members and move them to an OU for later removal, or change their description to make them more identifiable)

Script

Also I highly recommend signing up for the activedir.org mail list. It’s full of helpful people and great information!

2008 Server Core Step-By-Step

I came across this nifty guide today. Configuring a 2008 Server Core installation can be a pain the first few times around. This definitely would have saved my hair from some pulling. (There’s a sample unattend.xml file at the end too.)

Article

 PS: Forums are up – Of course there’s nothing in them yet, but please feel free to post any questions!

Function: Parse Object Name from Path

The following function will allow you to pull an object name from a path:

Example: LDAP:\\CN=JSMITH, OU=USERS, DC=DOMAIN, DC=COM

The function will return JSMITH. This may not seem very useful at first, and I created it only after I was unable to return results of anthing but the path. This is also useful in scripts that need both the path and the object name and can be used to remove the need for multiple queries. Function posted after the break.

Continue reading Function: Parse Object Name from Path…

New Script – Query Group Membership on Remote Computer

Is it just me or does it seem like this blog is turning into a blog about scripting.? I promise that is not the case but it seems that I have a lot of scripts that I’ve collected over the years and feel that may  be of some use to those learning WMI and VBScript. The following script will display a list of members in a specified group on a specified remote computer. Check out the syntax and a link to the script after the break.

Continue reading New Script – Query Group Membership on Remote Computer…

Powered by WordPress with [GimpStyle]
Entries and comments feeds.