I have a script that reads from a file, and sorts the data out into a text file. Here is the format it reads from:
CN=Lastname\, Firstname,OU=Users,OU=sports group,DC=domain,DC=name, DC=com
This code will read the data and put it into a text file:
if Mid(strData,1,2)=" C" then...