Solved

delete an unwanted dismounted public folder

Posted on 2013-01-11
6
532 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

630 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