Forum Discussion
Deletion of old mail public folders - Exchange 2013 to 1029
Hey all me again!
Have migrated from Exchange 2013 to 2019. 2019 is now doing everything.
We had used Public Folders in the past but no more. All the folders themselves are gone but there remains some some mail objects that must have been associated. Some I can see were created by us so I have been running disable-mailpublicfolder to delete them. Some have scary names like StoreEvents{395FEF93-3631-4CC3-A8BC-BDD0F7AF32A3}, OAB Version 2, OAB Version 4, microsoft, default, globalevents, schema-root, Offline Address Book.
Is it safe to just delete these, then delete the Public Folder Mailbox?
get-publicFolder -recurse -ResultSize:Unlimited
Name Parent Path
---- -----------
IPM_SUBTREE
cheers
j
- LeonPavesicSilver Contributor
Hi Deleted,
Yes, it is safe to delete the mail objects that you mentioned, as well as the Public Folder Mailbox. These objects are no longer needed, since you have migrated from Exchange 2013 to 2019 and are no longer using public folders.
To delete the mail objects, you can use the following PowerShell command:
Remove-PublicFolder -Identity "<name of mail object>"
For example, to delete the StoreEvents{395FEF93-3631-4CC3-A8BC-BDD0F7AF32A3} mail object, you would run the following command:
Remove-PublicFolder -Identity "StoreEvents{395FEF93-3631-4CC3-A8BC-BDD0F7AF32A3}"
To delete the Public Folder Mailbox, you can use the following PowerShell command:
Remove-Mailbox -Identity "<name of Public Folder Mailbox>"
For example, to delete the Public Folder Mailbox mailbox, you would run the following command:
Remove-Mailbox -Identity "Public Folder Mailbox"
Once you have deleted the mail objects and the Public Folder Mailbox, you can verify that they are gone by running the following PowerShell command:
Get-PublicFolder -Recurse -ResultSize:Unlimited
If there are no public folders listed, then you have successfully deleted them.
Please click Mark as Best Response & Like if my post helped you to solve your issue.
This will help others to find the correct solution easily. It also closes the item.If the post was useful in other ways, please consider giving it Like.
Kindest regards,
Leon Pavesic
(LinkedIn)