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


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, privacy policy and cookie policy

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