How To Clean Old Profile Account In Exchange 2013
In Exchange 2022, if yous delete a mailbox, the user associated with the mailbox in Agile Directory is also deleted. Only at some point, you might just desire to delete mailbox simply. And then, in this post I will evidence steps to delete mailbox without deleting user account in Commutation 2022.
Delete Mailbox Without Deleting User Account in Exchange 2022
The fox is, just disable the mailbox to delete the mailbox to retain the user account. Open Exchange Admin Heart (EAC). Click recipients in the features-pane and select mailboxes tab. Hither, you can run into the list of all the mailboxes configured in the Mailbox server. Select the mailbox you want to delete, click more (…) click disable.
A warning pops upwardly. Click Aye. The mailbox is now disabled.
The mailbox now disappears from the listing. The deleted mailbox will be automatically be deleted after the mailbox memory policy flow expires. To exercise the same affair from PowerShell here is the cmdlet,
Disable-Mailbox bgiri
At this point, let'due south say y'all want to re-connect to the mailbox again. In the EAC, navigate to same place, recipients > mailboxes. Here, click more (…), and select connect a mailbox.
This is how you can connect back to disconnected mailbox. But for now, I won't connect it back. Now, to view the asunder mailbox type following cmdlet in Exchange Management Shell,
Get-MailboxStatistics -Database "Mailbox Database 0372376569" | where {$_.disconnectdate -ne $null}
By default, the deleted mailbox will be stored in the database for upward to xiv days. But if yous desire to delete it prior then follow these steps. To delete the disabled mailbox nosotros demand to become the GUID of the mailbox. To get the GUID of mailbox, type the following cmdlet in Ems,
Get-MailboxStatistics -Database "Mailbox Database 0372376569" | where {$_.disconnectdate -ne $nix} | select displayname,MailboxGUID
To remove the deleted mailbox, type following cmdlet in EMS.
Remove-Mailbox -Database "Mailbox Database 0372376569" -StoreMailboxIdentity 92d20afd-42d8-496e-9455-34b3d6cb066e
The disabled mailbox is now deleted.
The following two tabs modify content below.
- Bio
- Latest Posts
Bipin is a freelance Network and System Engineer with expertise on Cisco, Juniper, Microsoft, VMware, and other technologies. Y'all can hire him on UpWork. Bipin enjoys writing articles and tutorials related to Network technologies. Some of his certifications are, MCSE:Messaging, JNCIP-SEC, JNCIS-ENT, and others.
Source: https://www.mustbegeek.com/delete-mailbox-without-deleting-user-account-in-exchange-2013/
Posted by: edwardshimenclayes.blogspot.com
0 Response to "How To Clean Old Profile Account In Exchange 2013"
Post a Comment