Quantcast
Viewing all articles
Browse latest Browse all 31638

Create user script not running

Hi guys,

I'm trying to run this script from here on my Domain:
http://www.computerperformance.co.uk/vbscript/vbscript_user_spreadsheet.htm

As i'm not familiar with LDAP query, what should I put under the strOU value here?

' -----------------------------------------------'
' Important change OU= and strSheet to reflect your domain
' -----------------------------------------------'

strOU = "OU=????? ," ' Note the comma
strSheet = "E:\scripts\UserSpread1.xls"

My domain name is banking.local

And the OU I wanted to create the user in AD was banking.local\ Users\ Project Manager

Do I put the value as strOU = "OU=Users, OU=Project Manager ," ?

Thanks for the advice!


---Packie


Viewing all articles
Browse latest Browse all 31638

Trending Articles