Export OU's with users to CSV in CD domain> Import the csv file and populate the OU with the users in AD

Respondida Export OU's with users to CSV in CD domain> Import the csv file and populate the OU with the users in AD

  • jueves, 03 de mayo de 2012 18:21
     
     
    Hello everyone! I have a script without a filter so it just returns with all users in the domain. 
    My goal is to create a Powershell script for 2003 r2 where it will do the following:
    >Take all the users in a specific OU in my old CD domain and export them to a csv file
    >>take that CSV file in AD and populate the OU with the users within the list
    I was hoping to make a cross domain script but I think it would be more realistic to create two seperate scripts and move over the CSV file.
    I looked at http://social.technet.microsoft.com/Forums/en-US/winservergen/thread/8ad06325-cbb3-4ad8-8280-30ec85ade870 but I don't want to populate the new OU using command prompt. 
    If anyone could help me out that would be much appreciated! 

    bradley Wyatt

Todas las respuestas