• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Delete Disconnected Mailbox

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Management >> Delete Disconnected Mailbox Page: [1]
Login
Message << Older Topic   Newer Topic >>
Delete Disconnected Mailbox - 29.Apr.2008 4:21:20 PM   
leungda

 

Posts: 50
Joined: 22.Mar.2008
Status: offline
How can I delete mail box in Disconnected Mailbox?
Post #: 1
RE: Delete Disconnected Mailbox - 29.Apr.2008 4:34:24 PM   
John Weber

 

Posts: 1236
Joined: 20.Apr.2005
From: Portland, Oregon
Status: offline
Either set the MIR to zero, or wait for the prescribed number of days.

I would wait unless you are a religious zealot about putting the DIR/MIR settings back to where they need to be when you get done.

If you forget, and lose your safety net, don't come crying to us!

_____________________________

John Weber [Lync MVP] http://tsoorad.blogspot.com

(in reply to leungda)
Post #: 2
RE: Delete Disconnected Mailbox - 29.Apr.2008 4:39:21 PM   
leungda

 

Posts: 50
Joined: 22.Mar.2008
Status: offline
How can I set the MIR to zero ?
By Default, how many days I have to wait for deleting the disconnected mailbox? How can I check?

(in reply to John Weber)
Post #: 3
RE: Delete Disconnected Mailbox - 29.Apr.2008 5:25:04 PM   
Elan Shudnow

 

Posts: 897
Joined: 4.Jan.2007
From: Chicago, IL
Status: offline
$Temp = Get-MailboxStatistics | Where {$_.DisplayName -eq 'John Peoples'}
Remove-mailbox -Database Server01\Database01 -StoreMailboxIdentity $Temp.MailboxGuid

Typically, the Remove-Mailbox will delete the user account, but since it's already disconnected, I'm not sure if it will remove the user account as well.  If you're ok with the AD user account being deleted, go ahead and run it.  If you're not ok with that, test it out beforehand to see if it removes the AD account as well.

Code thanks to:
http://www.exchangeninjas.com/Remove-Mailbox

_____________________________

Elan Shudnow
Exchange MVP
http://www.shudnow.net

(in reply to leungda)
Post #: 4

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Management >> Delete Disconnected Mailbox Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter