header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Using PS to export/import users,groups, and group membership
Last Post 09 Dec 2009 05:43 PM by Progo. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ProgoUser is Offline
New Member
New Member
Posts:2
Avatar

--
09 Dec 2009 05:37 PM
    Hi,

    I'm relatively new in PowerShell. My objective is to export users, groups, and groups membership from selected OU(s) in "domainA.com" and import into "domainB.com" using *.csv file.

    The requirements of this task as following;
    1. Export all user in selected OU(s) with mandatory LDAP attributes and import (mirror) it in domain B; 
    "employeeNumber,givenName,Sn,displayName,Company,Department,departmentNumber,
    Title,Description ,Division,employeeType,L,Manager,Mobile,otherTelephone,telephoneNumber,
    facsimileTelephoneNumber,physicalDeliveryOfficeName,postalCode"
    2. User's password not required, (optional) auto generate or leave blank in domain B
    3. Export all group from selected OU in domain A and import (mirror) it in domain B
    4. Export all group membership for all groups and import (mirror) it in domain B
     
    Domain B is a test environment and is not connected to production network. Can I use powershell to perform this task for both export and import?

    There is probably a sequence to do this during import process.
    1. Groups --> users --> group membership

    I'm using legacy tool such as csvde, ldifde, etc and it is quite complicated and messy. Any PS Guru can assist me?
    ProgoUser is Offline
    New Member
    New Member
    Posts:2
    Avatar

    --
    09 Dec 2009 05:43 PM
    Additional information;
    This environment consist of 15K-20K users and 17K groups. If PS can perform this task, how long it takes to export and import (estimate)?
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer