Solved

delete an unwanted dismounted public folder

Posted on 2013-01-11
6
530 Views
Last Modified: 2013-01-11
I use SBS2008, with Exchange 2007.
I have a public folder in the "second storage group".
It is dismounted, and I can not mount it.
I just want to delete it for ever.
I know it's GUID.
What command can I run in Powershell to delete it.
0
Comment
Question by:BSRIT
  • 4
  • 2
6 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38766512
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38766513
How to Remove a Public Folder Database
http://technet.microsoft.com/en-us/library/aa998329(v=exchg.80).aspx

Remove-PublicFolderDatabase -Identity "<server>\<storage group>\<public folder database>"

- Rancy
0
 

Author Comment

by:BSRIT
ID: 38766525
That command failed.

I tried all the usual ways to delete a public folder, but they all fail

I could not mount the public folder, and I decided to delete all the files in the "Second Storage Group" "public folder database" "c:\program files\microsoft\exchange server\mailbox\second storage group\".

I ran "Get-MailboxDatabase | fl" and I found out the GUID of the second storage group.
Can I use this GUID as a reference to run a Powershell command to remove all traces of the "public folder database" in the second storage group.
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 200 total points
ID: 38766545
http://blog.dargel.at/2012/01/19/remove-public-folder-using-adsiedit/

You can use ADSIEDIT to remove the PF Database

- Rancy
0
 

Author Closing Comment

by:BSRIT
ID: 38766564
This worked, but I could not see services at first.
I had to RMC on ADSI edit, select "connect to", and chooses "configuration", rather than the default "default naming context".
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38766657
:) Yeah i guess its the first time you used ?

- Rancy
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
In-place Upgrading Dirsync to Azure AD Connect
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question