I was able to fix it.
strBaseOU = "OU=XX,OU=Accounts"
I saw there was a new folder before "Accounts". I added the new OU folder in two locations in the script and now it works.
Thanks for taking the time to help. Looking at the OU section you posted helped me to see the issue, thanks!
I use it at my work and I don't know what it is that I am trying to verify or how to. I just know it worked great for months. If there is a change I don't know what or how to see. It left me wondering how to find out and what needs to be changed in the code.
Hello,
I have a script that came together from joint efforts of people and using some code I found on the web to Frankenstein the script. After months of using it, it no longer runs due to an error. It looks like an obvious error but I am not sure how to go about verifying or fixing it. I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.