Is there a PowerShell equivalent to stsadm migrateuser?

by sneel at 2013-03-28 20:22:10

We have been collapsing multiple AD domains to a root domain. After a user is moved to the new domain, I have been using:
stsadm -o migrateuser -oldlogin xxxx -newlogin yyyy

This is on SharePoint 2010. Is there an equivalent command in PowerShell?

Thanks
by coderaven at 2013-03-28 22:26:56
I did some looking into it and there is the Move-SPUser cmdlet that should do the trick for you. Also, see the STSADM to PowerShell mapping page (SP2010) to get a full list of how to move forward.

Let me know :smiley:
by sneel at 2013-04-01 11:22:37
This is exactly what I was looking for!

Thank you!