clean Mailbox Database across all the database...
Hello Team am finding difficulties while doing clean-mailbox database Suppose, if we remove / Disable the user mailbox in EMC without knowing their server, or Stogare Groups and database, it will not showing in disconnected mailbox immediately , it is taking too many hours, some time 24 Hours to show in the disconnected mailbox. if we have 50 SG and and 50 Database, it is very difficult to put the command clean-mailbox database on each and every database My query is 1.what is the time frame to show the deleted mailbox in disconnected mailbox 2.How will we run the clean-mailbox command across all the database in the single exchange server?
March 8th, 2011 10:25am

This can take up to 24 hours to show, it usually runs as a nightly process. To run a clean across all databases in the Exchange org, try: Get-MailboxDatabase | Clean-MailboxDatabaseTim Harrington | MVP: Exchange | MCITP: EMA 2007/2010, MCITP: Server 2008, MCTS: OCS | Blog: http://HowDoUC.blogspot.com | Twitter: @twharrington
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2011 5:43pm

On Tue, 8 Mar 2011 15:19:21 +0000, rush2ramki wrote: >am finding difficulties while doing clean-mailbox database > >Suppose, if we remove / Disable the user mailbox in EMC without knowing their server, or Stogare Groups and database, it will not showing in disconnected mailbox immediately , it is taking too many hours, some time 24 Hours to show in the disconnected mailbox. if we have 50 SG and and 50 Database, it is very difficult to put the command clean-mailbox database on each and every database Why not use this: get-mailboxdatabase | clean-mailboxdatabase >My query is > >1.what is the time frame to show the deleted mailbox in disconnected mailbox > >2.How will we run the clean-mailbox command across all the database in the single exchange server? get-mailboxdatabase -server <name> | clean-mailboxdatabase --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
March 8th, 2011 10:07pm

Hi, You would like to clean all the databases in one-line, Tim and Rich has already pointed the right direction. Just combine the two commands will help you. More information: Clean-MailboxDatabse: http://technet.microsoft.com/en-us/library/bb124076(EXCHG.80).aspx Get-MailboxDatabse: http://64.4.11.252/en-us/library/bb124924(EXCHG.80).aspx Best regards, SerenaPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
March 10th, 2011 5:07am

Serana, Rich, Tim... Combined the above commands and working great..... however i had noticed some thing crazy, some time i disabled the mailbox from EMC which is immediately appears in disconnected mailbox without issue the clean mailbox database command. This is creating confusion again.
March 10th, 2011 11:26pm

On Fri, 11 Mar 2011 04:21:39 +0000, rush2ramki wrote: > > >Serana, Rich, Tim... > >Combined the above commands and working great..... > >however i had noticed some thing crazy, some time i disabled the mailbox from EMC which is immediately appears in disconnected mailbox without issue the clean mailbox database command. This is creating confusion again. If it showed up as disconnected soon after you took that action it's just because you were lucky. --- Rich Matheisen MCSE+I, Exchange MVP --- Rich Matheisen MCSE+I, Exchange MVP
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2011 10:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics