Script – to create users in AD and enable them for Office Communications server

Whenever you install OCS 2007 in a lab domain you need to generate users for your environment. Ram Ojha har created a cscript that does the following:

  • It’ll read the csv file you create
  • It will create the user.
  • It’ll read display name from the file and write FirstName, LastName and DisplayName of the user.
  • It’ll set the TelephoneNumber of the user.
  • It’ll enable the user for Office Communications server
  • It’ll set the SIP address (msRTCSIP-PrimaryUserAddress)
  • It’ll assign the user to a pool (msRTCSIP-PrimaryHomeServer)
  • It’ll enable the user for Enterprise Voice (msRTCSIP-OptionFlags)
  • It’ll assign the Line URI (msRTCSIP-Line)

Head over to his post to download the script and see how to modify it to support your needs:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.