unrealone1
asked on
Export from Server 2008 to import to Server 2008
Hi all,
Server 2008 R2 with around 75user accounts.
I have a new Server 2008 R2 server and I wish to import the user names only. Not worried about keeping the passwords. Just first name, surname and username
Can some one advise of the best way to do this?
Server 2008 R2 with around 75user accounts.
I have a new Server 2008 R2 server and I wish to import the user names only. Not worried about keeping the passwords. Just first name, surname and username
Can some one advise of the best way to do this?
ASKER
Yes from AD on a Server 2008 R2 server to AD on another 2008 R2 server.
domain MyCompany.Local is the same.
domain MyCompany.Local is the same.
If your on about LOCAL accounts then see here, is simple :D
Local User and Group Migration Guide
http://technet.microsoft.com/en-us/library/dd379531(v=ws.10).aspx
Local User and Group Migration Guide
http://technet.microsoft.com/en-us/library/dd379531(v=ws.10).aspx
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
This new server is being built offsite. It won't be touching the old server. All I want to do is export the user accounts to a csv, so I can then import them.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ran the first command to export. This appeared to work ok.
On the new server using the Powershell Active Directory.
I run this command:
$users = import-csv thefileiexported
foreach ($user in $users)
{new-aduser -samaccountname $user.samaccountname -givenname $user.givenname -surname $user.surname -accountpassword (ConvertTo-SecureString -AsPlainText "mypa55word" -Force)}
and then I get
>>
(I press enter)
Then I get
cmdlet New-AdUser at command pipelane position 1
Please advise?
On the new server using the Powershell Active Directory.
I run this command:
$users = import-csv thefileiexported
foreach ($user in $users)
{new-aduser -samaccountname $user.samaccountname -givenname $user.givenname -surname $user.surname -accountpassword (ConvertTo-SecureString -AsPlainText "mypa55word" -Force)}
and then I get
>>
(I press enter)
Then I get
cmdlet New-AdUser at command pipelane position 1
Please advise?
did you ever get an answer?
Is this to a NEW Active Directory domain?