Solved

delete an unwanted dismounted public folder

Posted on 2013-01-11
6
527 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
Do email signature updates give you a headache?

Are you constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems 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

Does Powershell have you tied up in knots?

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.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now