Batch Remove mailboxes in Exchange 2007

5 pts.
Tags:
batch remove
bulk delete
Mailbox management
Microsoft Exchange 2007
I have searched high and low and can not find a delete bulk mailbox with powershell example. I have been trying to put it together from several other examples but no luck do far. Here is a sample of what I have tried:

[PS] C:>$mb = Get-Mailbox -Database qt-mbx-cls.oberonmedia.localchina | select Alias | Remove-Mailbox -Identity Alias -Permanent $true -Confirm:$false -whatif

I have also tried various foreach loops, but no matter what I try, I just get errors

Any help is greatly appreciated!



Software/Hardware used:
Exchange 2007 sp1

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Ig0tit
    Can you post our errors?
    65 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: