+ Post New Thread
Results 1 to 4 of 4
Windows Thread, bulk create mail enabled AD user and change AD attribute? in Technical; Hi I am really hoping someone can help me. I need to do 2 things: We have an exchange server ...
  1. #1
    ranj's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    730
    Thank Post
    98
    Thanked 42 Times in 32 Posts
    Rep Power
    25

    bulk create mail enabled AD user and change AD attribute?

    Hi

    I am really hoping someone can help me.

    I need to do 2 things:

    We have an exchange server 2007 which our teachers and other staff use and students who use Novell Groupwise 7. All users have AD accounts and the plan is students will use groupwise with their AD username and password. Staff need to be able to see students in the outlook global address list even though the mailboxes are not on exchange, to summarise I need to create a mail enable for an existing contact in Exchange pointing to their email on Groupwise.

    One of the issues is our usernames are setup as yearfirstname.surname@emaildomain.com and for users to login to groupwise their username needs to be yearfirstnamesurname@emaildomain.com (just removing the dot)

    I have managed to export our AD users from an OU and export it as a CSV and removed the . but now need to insert this back into ad and change the attribute for email.

    At the moment for each student some have an email address in the email attribute in AD and some don't. I need to somehow insert some information into this attribute box which is username@schoolname.stu as well as bulk create the mail enabled contacts for existing AD users.

    Can anyone point me in how I could do this with a CSV file. If it can be done I would really appreciate some assistance on what columns I need in the CSV. I have got most tools available to me such as powershell, exchange management shell, Quest PowerGUI, AD modify and CSVDE. If I could use any of these tools to assist me it would be great.

    I am aware that once all mail enabled users are in I need to run the following command in Powershell which updates the global address list for Outlook.

    update-globaladdresslist -identity "Default Global Address List" -domaincontroller {domain controller name}

    Can anyone help?

  2. #2

    EduTech's Avatar
    Join Date
    Aug 2007
    Location
    Reading
    Posts
    5,062
    Thank Post
    160
    Thanked 920 Times in 723 Posts
    Blog Entries
    3
    Rep Power
    272
    Bugger! i should of read this before leaving work at 21:30 lol! i have some stuff at work which i think should help i'll email it over to you tomorrow.

    I am pretty sure you can do the first thing using the exchange mailbox policy.

    2nd thing i am too tired, but again i think i have something to help you on my drive at work.

    Sorry i cant be anymore help tonight, but i remember helping someone with this a few months ago and i still have the stuff somewhere. as i dont need it myself i dont know of top of my head

    If no one else replys before hand, i'll email you tomorrow

    James.

  3. #3

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,596
    Thank Post
    109
    Thanked 764 Times in 595 Posts
    Rep Power
    181
    Use CSVDE for user account creation then just use AD Users and Computers to bulk select the users and add the email field in as %username%@domain.tld

  4. #4
    ranj's Avatar
    Join Date
    Feb 2006
    Location
    Birmingham
    Posts
    730
    Thank Post
    98
    Thanked 42 Times in 32 Posts
    Rep Power
    25
    I worked out that I can select a number of users in AD and then enter the email address, issue is if I use %username@emaildomain.com it will use their username which is firstname.surname@emaildomain.com, I need it somehow to globally remove that dot so groupwise will pick it up.

SHARE:
+ Post New Thread

Similar Threads

  1. Create Bulk users and Folders
    By DanW in forum Scripts
    Replies: 14
    Last Post: 20th September 2009, 03:08 PM
  2. Create bulk ad groups from a csv file
    By ful56_uk in forum Windows
    Replies: 2
    Last Post: 20th July 2009, 05:06 PM
  3. (Bulk) Change user passwords using csv
    By PEO in forum Windows Server 2008
    Replies: 2
    Last Post: 3rd June 2009, 12:50 PM
  4. Bulk Change User Setting
    By bmdixon in forum Windows
    Replies: 13
    Last Post: 11th February 2009, 11:07 AM
  5. Replies: 5
    Last Post: 21st August 2007, 08:02 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •