Solved

delete an unwanted dismounted public folder

Posted on 2013-01-11
6
529 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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.
Read this checklist to learn more about the 15 things you should never include in an email signature.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
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…

785 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