Is there a PowerShell equivalent to stsadm migrateuser?

This topic contains 0 replies, has 1 voice, and was last updated by  Forums Archives 6 years, 5 months ago.

  • Author
  • #6425

    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?


    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 😀

    by sneel at 2013-04-01 11:22:37

    This is exactly what I was looking for!

    Thank you!

You must be logged in to reply to this topic.