delete an unwanted dismounted public folder

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.
BSRITAsked:
Who is Participating?
 
Manpreet SIngh KhatraConnect With a Mentor Solutions Architect, Project LeadCommented:
http://blog.dargel.at/2012/01/19/remove-public-folder-using-adsiedit/

You can use ADSIEDIT to remove the PF Database

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
BSRITAuthor Commented:
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
 
BSRITAuthor Commented:
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
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
:) Yeah i guess its the first time you used ?

- Rancy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.