re-home one user account in exchange 2013

Hi

I've got a group of exchange 2013 users working out of a dial-tone mailbox that we are likely going to keep using as the primary database.  I have the "old" exchange database mounted.  All users have been re-homed to new database (dial tone)

I would like to re-home just ONE user BACK to the original database but can't figure out how to do that.  the previous getmailbox command did all the users at once.

It would also be helpful to know if there is any way to export a mailbox on the OLD database to pst.  

thanks much!
markgal26Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

bigeven2002Commented:
Hello,
It's been a while since I've managed Exchange, but I don't know how to re-home accounts.  In Exchange Management Console, I believe the syntax for exporting a mailbox is like this:
New-MailboxExportRequest -Mailbox <user> -FilePath \\server\sharefolder\file.pst

Open in new window


As for the get-mailbox command to find one user, that would be something like this:
Get-Mailbox -Identity <value>

Open in new window


Value can be:
Alias
Distinguished name (DN)
GUID
Name
Display name
LegacyExchangeDN
Email address
0
markgal26Author Commented:
Thanks, I do know those basic commands. I'm looking specifically for the commands to specify one user for the rehome and to export from a specific database.
0
markgal26Author Commented:
I THINK this is the answer to one of my questions (rehoming)
still wondering about an export request command from the non-primary database..

--------------------------------

Gather mailbox database
Get-Mailbox <identity> | select MailboxDatabase

Rehome mailbox (set different database to mailbox)

Get-Mailbox <identity> | Set-Mailbox -Database <DB identity>
Get-mailbox x9xxxx | Set-Mailbox -Database MDB12

Confirm Rehoming mailbox "domain.local/Persons/Administrators/test/CZ/X9XXX" to database "MDB12". This operation will only modify the mailbox's Active Directory configuration. Be aware that the current mailbox content will become inaccessible to the user. [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"):
Use Clean-MailboxDatabase on old database to see the mailbox in disconnected mailboxes.

Get-MailboxDatabase <old MDB identity> | Clean-MailboxDatabase
Your old data will be removed according your Exchange configuration or you can force deletion by command Remove-StoreMailbox <your old data mailbox identity> as well described here:
http://technet.microsoft.com/en-us/library/gg181092(v=exchg.141).aspx

Your mailbox is clean.
0
markgal26Author Commented:
this command worked perfectly for me:

Get-mailbox username | Set-Mailbox -Database databaseyouwanttorehometo
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
markgal26Author Commented:
Answered my own main question.... and now that the mailbox is re-homed to the database I want, I can export the PST. still not sure on how to export from the database the user account was re-homed to.  Found answer on blog post referenced above
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.