Announcement

Collapse
No announcement yet.

script for adding contact information in Active Directory

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • script for adding contact information in Active Directory

    Dear All,

    In my organization we have 550 users, i need update all their information, such as Title,department,telephone number,Fax,.....

    All information i have in excel sheet, please do let is there any script to upload.....

  • #2
    Re: script for adding contact information in Active Directory

    Look at LDIFDE as a way of scripting changes to AD
    will help
    http://www.google.co.uk/#sclient=psy...=1458&bih=1028
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      Re: script for adding contact information in Active Directory

      Speaking about Exchange 2007/2010 powershell would be even better to do this job, "import-csv" and some "foreach" should do what you want.

      Comment


      • #4
        Re: script for adding contact information in Active Directory

        What is the exact version of Exchange you are using? As this will define which is the easier route.
        The "New-Mailcontact" command does this very easily in Exchange 2010 SP1. Iv used this syntax to accomplish the same on Exchange 2010 SP1

        http://technet.microsoft.com/en-us/l.../bb124519.aspx

        Comment


        • #5
          Re: script for adding contact information in Active Directory

          new-mailcontact seems to be used to create a new mail-enabled contact, and not necessarily to amend AD details for an existing user-object ?

          I could be wrong though.. i haven't fully read through your TN link
          Please do show your appreciation to those who assist you by leaving Rep Point https://www.petri.com/forums/core/im.../icon_beer.gif

          Comment


          • #6
            Re: script for adding contact information in Active Directory

            Originally posted by tehcamel View Post
            new-mailcontact seems to be used to create a new mail-enabled contact, and not necessarily to amend AD details for an existing user-object ?

            I could be wrong though.. i haven't fully read through your TN link
            You are correct. I misread the question. Get-Mailcontact with the set command will do the same thing.

            Comment

            Working...
            X