I have 21 Exchange Administgrative Groups and have 2-3 server in each group. We have more then 1000 public folder and have replica on multiple server but not on all.
Last week due to some curruption in Exchange Storage Group object, public folder and mailbox store went down. When I checked integrity of Exchange Mailbox Store database, it was in DIRTY SHUTDOWN state. I repaired database, but could not make store up. Finally I had to create new Storage_Group\Mailbox_Store and used existing databases. But for this, I had to disconnect and reconnect all mailboxes to change its HOMEMDB attribute.
But original problem is Public Folder. Public Folder database is in clean shutdown state. I cant create new Public Folder Store because it asked that existing public folder tree is associated with existing Public Folder Store which is already down. That I can understand. I had another solution is to delete currupted Storage_Group\Public_Folder_Store from ADSIEDIT.MSC and create new Storage_Group\Public_Folder_Store with same name and associate existing database(This works 100%). But I can go for this because one of our Exchange Administrator Public Folder Replication mails from queue. Now I would have not update sent by other server during public folder store down. So I cant go for this option.
Only option remaining is to delete that store from all Public Folder replicas. I am doing this via PFDEVADMIN but as I told you we have more then 1000 Public Folders, it is very hard to check every Public Folder and check replica and delete it.
Is there any way to extract list of all public folder with specific replica and delete it with one shot?