The client has made the following changes to the job.
Client prefers freelancers from:
You are still able to submit a proposal for this job.
The client prefers freelancers from
a different location.
I need a script to move mailboxes from Exch. 2003 to Exch 2010 that does the following:
Get user list from input file
Move those mailboxes to a specific mailbox database, accepting large data loss
Enable archive mailbox on a specific database for the moved mailboxes
Disable active sync on the moved mailboxes
Enable Single Item Recovery on the moved mailboxes
Lastly clears the move request.
Here's what I've come up with so far which works but as you can see there are 5 different cmdlets, your job would be to combine this into a PowerShell script. You can use other cmdlets as long as they accomplish the exact same task:
Get-Content C:\migration\users.txt | New-MoveRequest -TargetDatabase MBXDB01 -BadItemLimit 100 -AcceptLargeDataLoss
Followed by running:
get-moverequest | Enable-Mailbox -Archive -ArchiveDatabase MBXDBA01
get-moverequest | set-CASMailbox -ActiveSyncEnabled:$False
To enable single item recovery I:
get-moverequest | Set-Mailbox -SingelItemRecoveryE...
Sign in or Register to see more