Can you connect it to another user object and then delete?  You
obviously can't reconnect it to the orignal user.

Michelle Weaver
System Administrator - Materials Research Institute
Pennsylvania State University

-----Original Message-----
From: Ehren Benson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2008 12:10 PM
To: MS-Exchange Admin Issues
Subject: RE: Removing mailboxes (for good dang it!)

Sorry, if it wasn't clear this is exchange 2007.

 

Thanks

 

Ehren J. Benson, MCSE

Windows Systems Administrator

 

[EMAIL PROTECTED]

517-884-5469

 

From: Ehren Benson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2008 12:04 PM
To: MS-Exchange Admin Issues
Subject: Removing mailboxes (for good dang it!)

 

Hi-

 

This should be a quickie....

 

I learned a while back (the hard way) the difference between "disable"
and "remove" for mailboxes.  Luckily (or not) it was on my own mailbox.
Anyway...there is a user on our systems whose data got completely
convoluted by their own doings....so I DISABLED their mailbox and
created a new one.  Now presumably the old one would go to the
"disconnected mailboxes" list and I would delete it for good with this
powershell command....

 

Get-MailboxStatistics
<http://www.exchangeninjas.com/Get-mailboxstatistics>  -database
"server\db" | where {$_.disconnectdate -ne $null} | foreach
{Remove-mailbox -database $_.database -storemailboxidentity
$_.mailboxguid}

 

Hooooowever for some reason it does not go to the disconnected mailbox
list, but I still want to delete it because I don't want this 3.3GB
mailbox floating around in limbo somewhere.  When I run the powershell
command...

 

Get-MailboxStatistics | sort-object TotalItemSize |  format-table
DisplayName,
@{expression={$_.TotalItemSize.Value.ToMB()};label="TotalItemSize(MB)"}

 

To see a list of all of our mailboxes with the sizes in MB sorted
smallest to biggest I can still see the old one at the bottom of the
list (because its huge) and the new one which I am currently filling
with all of his good data closer to the top.  So its in the system
somewhere but not in the disconnected list.

 

How do I smoke the thing?

 

Many thanks!

 

Feel free to copy my PS commands if you don't currently have them in
your "handy commands" list J

 

Ehren J. Benson, MCSE

Windows Systems Administrator

Department of Physics and Astronomy

Michigan State University

1209 A Biomed Phys Sci

 

[EMAIL PROTECTED]

517-884-5469

 

 

 


 


~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~
~             http://www.sunbeltsoftware.com/Ninja                ~

Reply via email to