Exchange 2007 - export as "PST" ?

I currently have 100+ old DISABLED email accounts
on my Exchange 2007 server and want to do as follows:
  1. export first account as "PST" --> just email
       ** do NOT need contacts, calendar, etc
  2. make sure "PST" works
  3. delete account from Exchange server
  4. repeat steps for 100+ other accounts

Is "Exchange Management Console"
and the below command from
the best way to do this ?
  ** “Export-Mailbox -Identity -PSTFolderPath C:\Export Mailbox\Mailbox copy.pst
Who is Participating?
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.

Thomas GrassiSystems AdministratorCommented:
In order to do export-mailbox for Exchange 2007 you must be on a 32 bit OS will not work on 64 bit computers or servers.

I have a Windows Vista 32 bit computer that I keep around just for that function.

On that 32 bit computer you need to install the Exchange Admin tools.

I export my journal mailbox weekly to a pst file works great.
Since you indicate you are doing this on the exchange server, yes that is the way to accomplish step one.

You might just want to put all the accounts into one text file and use a foreach to save time:

gc users.txt | % {$fname = $_.split('@')[0]; Export-Mailbox -Identity $_ -PSTFolderPath C:\Export Mailbox\$fname.pst }

Here is a script to test pst file validity:

You can simply log the name of the file that succeeded and then do the delete.

So in essence all your questions are answered.

Step 1 export all mailboxes
Step 2 validate pst
Step 3 delete accounts

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
Were you able to test this?

Do you need any further assistance ?
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

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.