• Home
  • Tech Support
  • Resource Center
  • Try This!
    • Cleanup
      • Conduit
        • Disk Space Fan
          • Duplicate Finder
            • Freecorder4
              • FriendlyPrints
                • HotSpot Shield
                  • MP3Gain
                    • MSOffice2010
                      • OpenOffice Impress
                        • ReclaimPrivacy
                          • SharePod
                            • State of the Net 2010
                            • Freeware
                            • Online Apps
                            • SharePoint
                            • My Powershell
                            • PowerShell Stuff
                            • IT Links
                            • Quick Notes
                            PowerShell Bulk User Import CSV file... 10/15/2011
                            0 Comments
                             
                            How to create a CSV file for bulk New User upload to Windows Active Directory using PowerShell.
                            You will need the names of the users you want to import in a spreadsheet, preferably with their first name and last names in different columns.However, the more information about the user the better. For this exercise, I will use the following information:
                            1. Username
                            2. Login Account Info
                            3. Email Address
                            4. Description
                            5. Telephone
                            6. Location
                            7. Department
                            Picture
                            In each Column add the following syntax:
                            • objectClass (e.g. User, Contact, Computer, etc.)
                            • Name (e.g. Bart Simpton)
                            • givenName (e.g. Bart)
                            • Surname (e.g. Simpton)
                            • DisplayName (e.g. Bart Simpson)
                            • Office (add the office location of the user)
                            • OfficePhone (e.g. (555) 555 5555)
                            • SamAccountName (e.g. simpsonb or whatever username format is required)
                            • Description (e.g. User, Manager, Supervisor, etc.)
                            • Department (add the department name)
                            • Email Address (add the email address)
                            • userPrincipalName (here's where you will enter the user login name e.g. simpsonb or whichever format required)
                            • Path (here's where you enter the AD path e.g. OU=Pubs,DC=Springfield,DC=com
                            • Enabled (e.g. $True or $False)
                            Note: the account will be disabled by default - more ahead.
                              Add Comment
                               

                                Author

                                Write something about yourself. No need to be fancy, just an overview.

                                Archives

                                October 2011

                                Categories

                                All

                                RSS Feed


                              Ask The IT Guy...