I would like to migrate users from one domain to another domain.Can you please help here power shell scripting for this?

1 Answer 1


For Windows Claims, the cmdlet looks like this:

$user = Get-SPUser -Identity 'i:0#.w|oldDomain\jdoe' -Web http://webUrl #A site collection where 'jdoe' exists
Move-SPUser -Identity $user -NewAlias 'i:0#.w|newDomain\jdoe' -IgnoreSid


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.