remcovanuitert
Technical User
Is there a way I can put the following commands on one line:
oUser.Put "samAccountName","Jo"
oUser.Put "givenName","Jo"
oUser.Put "sn","Brown"
oUser.Put "userPrincipalName","jo@reskit.com"
I need something like this:
oUser.Put "samAccountName","Jo";oUser.Put "givenName","Jo";oUser.Put "sn","Brown";oUser.Put "userPrincipalName","jo@reskit.com"
What is correct syntax for this? Thanks in advance,
Remco
PS some background information: I need to add 500 users to my Active Directory. If I can have this script on one line, I can easily paste this in the existing list of users (in excel).
oUser.Put "samAccountName","Jo"
oUser.Put "givenName","Jo"
oUser.Put "sn","Brown"
oUser.Put "userPrincipalName","jo@reskit.com"
I need something like this:
oUser.Put "samAccountName","Jo";oUser.Put "givenName","Jo";oUser.Put "sn","Brown";oUser.Put "userPrincipalName","jo@reskit.com"
What is correct syntax for this? Thanks in advance,
Remco
PS some background information: I need to add 500 users to my Active Directory. If I can have this script on one line, I can easily paste this in the existing list of users (in excel).