How do I move mailboxes to a different mail store and defrag that mail store in exchange 2007?

We have 4 mail stores in our environment.  I need to defrag each one.  I have to move the mailboxes off the store before they can be defragged.  What is the command shell for doing that?  Obviously I dont want to do them one at a time.  Thanks
TriCountyITAsked:
Who is Participating?
 
Glen KnightCommented:
You don't need to defrag the stores in Exchange 2007.

You create a new mailbox store, move the mailboxes either by selecting them and right clicking then say Move Mailbox or use the Move-Mailbox command from the Exchange Management Shell.
0
 
TriCountyITAuthor Commented:
There is a lot of space un accounted for.  Is there anything more than defragging the drive?
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
Glen KnightCommented:
Can you please be more specific? What do you mean by a lot of space unaccounted for?
0
 
TriCountyITAuthor Commented:
We have 150 gigs of total space on our exchange database drive.  I do a properties on everything and there is only 110 gigs accounted for.  There is a bunch of space that I have no idea where is.
0
 
Mark DamenERP System ManagerCommented:
You've looked with Hidden Files shown and unticked the option in "Folder Options" to "hide protected operating system files"?

I guess that you could have a page file, recycle bin or something else sat on the drive that is using space.  As for the space that you could retrieve from the mailbox database files, you need to look for Event 1221 in the Application log on your exchange server.  This will tell you how much space you could get back by doing an offline defrag.
0
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.

All Courses

From novice to tech pro — start learning today.