We are currently planning our migration from a Windows XP network to Windows 7. Included in all of this we are setting up a new domain and building a new Exchange 2010 cluster.

I am trying to create a C# Windows application that will do all of user migration for our engineers to save time. It will modify any databases that they have access to, move home folders etc. What i want to incorporate into this is migrate exchange mailboxes from the 2007 to 2010 servers (cross-forest).

Ive read a few articles about executing powershell scripts remotely but i dont seem to be having much success with the Prepare-MoveRequest.ps1 script.