I have zero knowledge on how to make a vbscript. I found the code below from here. https://blogs.msdn.microsoft.com/alejacma/2008/04/23/how-to-get-a-list-of-all-users-in-an-ou-vbscript/
' Get OU
'
strOU = "OU=Users,DC=DOMAIN.BIZ,DC=com"
' Create connection to AD
'
Set objConnection =...
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.