+ Reply to Thread
Results 1 to 13 of 13
  1. Senior Member
    Join Date
    Jan 2003
    Location
    Orange County, CA.
    Posts
    337

    Certifications
    A+, Network+, MCP - Windows XP, MCSA - Windows Server 2003, MCTS - Exchange Server 2007
    #1

    Default force purge of disconnected mailboxes

    Is there a way to force the disconnected mailboxes to delete without removing the associated AD user account?

    From what I have read so far, the remove-mailbox cmdlet can be used but it also gets rid of the AD user account which we do not want.
    Reply With Quote Quote  

  2. SS -->
  3. New Member royal's Avatar
    Join Date
    Jul 2006
    Location
    Chicago, IL
    Posts
    3,373
    #2
    The remove-mailbox command only gets rid of the account if the Exchange Admin account you're using is also an AD administrator with privileges to remove the account.

    I've had to do this before and used the following page with example commands (which do include purging disconnected mailboxes):
    http://www.exchangeninjas.com/Remove-Mailbox
    http://technet.microsoft.com/en-us/library/bb232039(EXCHG.80).aspx

    I don't know of a way to do this via disable-mailbox as there's no documentation on how to do this with disable-mailbox.

    Again, you could create an Exchange Admin account and leave it in only the Domain Users group.

    Test this out before doing it with production mailboxes/user accounts!
    Reply With Quote Quote  

  4. Senior Member
    Join Date
    May 2007
    Posts
    209

    Certifications
    MCSA 2003, MCTS, MCITP Enterprise Messaging Administrator, ITIL v3 foundations
    #3
    Similar to Royals post, this ones a bit easier to read (at least for guys who are highlight crazy like me lol)... I have used this in the past and it works well.

    http://msmvps.com/blogs/andersonpatr...rver-2007.aspx
    Reply With Quote Quote  

  5. Senior Member
    Join Date
    Jan 2008
    Posts
    1,941

    Certifications
    MCITP: EA, EMA; MCSE 2000/2003: M; MCSE 2000: S; MCSA 2000/2003: S; MCTS: ISA 2006; VCP3/4
    #4
    DOH! Beat me to the PowerShell punch!
    Reply With Quote Quote  

  6. Nidhoggr, the Net Serpent Claymoore's Avatar
    Join Date
    Nov 2007
    Location
    FL
    Posts
    1,622

    Certifications
    AWS Architect, MCSEx3, MCITPx6, MCTSx17
    #5
    Can't you just use Active Directory Users and Computers, right-click on the account, select Exchange Tasks, and then Delete Mailbox?

    It's an available option in 2003, but I don't know if it works in 2007.
    Reply With Quote Quote  

  7. sporadic member shednik's Avatar
    Join Date
    Feb 2007
    Location
    Pittsburgh, PA
    Posts
    2,005

    Certifications
    CCNP, JNCIP-ENT, JNCIS-SP, JNCIA, JNCDA, CCNA, CCNA:Security, MCP, A+, N+, L+, MST:InfoSec, CNSS 4011-4015
    #6
    Quote Originally Posted by Claymoore
    Can't you just use Active Directory Users and Computers, right-click on the account, select Exchange Tasks, and then Delete Mailbox?

    It's an available option in 2003, but I don't know if it works in 2007.
    Thats was my thoughts as well and then you can let Exchange delete it on its own once it's clean up agent runs or you can manually purge it specifically if you need to save space on your store. Unless I'm misunderstanding what the original question was.
    Reply With Quote Quote  

  8. Senior Member
    Join Date
    Jan 2008
    Posts
    1,941

    Certifications
    MCITP: EA, EMA; MCSE 2000/2003: M; MCSE 2000: S; MCSA 2000/2003: S; MCTS: ISA 2006; VCP3/4
    #7
    Quote Originally Posted by Claymoore
    Can't you just use Active Directory Users and Computers, right-click on the account, select Exchange Tasks, and then Delete Mailbox?

    It's an available option in 2003, but I don't know if it works in 2007.
    ADUC isn't Exchange integrated anymore with E2K7.
    Reply With Quote Quote  

  9. Self-Described Huguenot blargoe's Avatar
    Join Date
    Nov 2005
    Location
    NC
    Posts
    4,088

    Certifications
    VCAP5-DCA; VCP 3/4/5/6 (DCV); EMCSA:CLARiiON; Linux+; MCSE:M 2000/2003; MCSE:S 2000/2003; MCTS:Exch2007; Security+; A+; CCNA (expired)
    #8
    It's very bad to do that to E2K7 mailboxes using ADUC
    IT guy since 12/00

    Recent: 3/22/2017 - Passed Microsoft 70-412; 2/11/2017 - Completed VCP6-DCV (passed 2V0-621)
    Working on: MCSA 2012 upgrade from 2003 (to heck with 2008!!), more Linux, AWS Solution Architect (Associate)
    Thinking about: VCP6-CMA, MCSA 2016, Python, VCAP6-DCD (for completing VCIX)
    Reply With Quote Quote  

  10. Senior Member
    Join Date
    Jan 2008
    Posts
    1,941

    Certifications
    MCITP: EA, EMA; MCSE 2000/2003: M; MCSE 2000: S; MCSA 2000/2003: S; MCTS: ISA 2006; VCP3/4
    #9
    Correct. As a general rule, use E2K3 tools to manage E2K3 mailboxes (ADUC + ESM), and use E2K7 tools to manage E2K7 mailboxes (EMC/EMS).
    Reply With Quote Quote  

  11. Junior Member Registered Member
    Join Date
    Aug 2011
    Posts
    2
    #10

    Default multiple purge in exchange

    Quote Originally Posted by w^rl0rd View Post
    Is there a way to force the disconnected mailboxes to delete without removing the associated AD user account?

    From what I have read so far, the remove-mailbox cmdlet can be used but it also gets rid of the AD user account which we do not want.

    go to stores right click on mailboxes and run clean up agent...then right click the stores and on the limit tab change the limits to 0 and then run the cleanup agent again it will remove the mail boxes
    Reply With Quote Quote  

  12. Nidhoggr, the Net Serpent Claymoore's Avatar
    Join Date
    Nov 2007
    Location
    FL
    Posts
    1,622

    Certifications
    AWS Architect, MCSEx3, MCITPx6, MCTSx17
    #11
    I'm going to go out on a limb and guess that, at some point in the last 4.5 years, this situation was resolved.

    I know I have learned a little bit about the Exchange management tools since then
    Reply With Quote Quote  

  13. Virtual Member undomiel's Avatar
    Join Date
    Sep 2007
    Location
    Bellevue, WA
    Posts
    2,813

    Certifications
    MCSA:2008, VCP4/5, CCA (XS), MCITP: EA/VA, MCSE, MCSA, Linux+, Security+, Server+, A+
    #12
    Pretty interesting to see how far you have come since then though.
    Reply With Quote Quote  

  14. Senior Member cyberguypr's Avatar
    Join Date
    May 2007
    Location
    Chicago, IL
    Posts
    5,774

    Certifications
    GCFE, GCED, GCIH, CISSP, CCSP, and others that should never be mentioned
    #13
    Priceless respawn.
    Reply With Quote Quote  

+ Reply to Thread

Social Networking & Bookmarks