Remove Internet Newsgroups from Public Folders

I need to remove internet newsgroups from Exchange 2010 Public folders
I need to keep many other Public folders
How can I do this via Exchange Management Shell.
bpiatekAsked:
Who is Participating?
 
Richard SchilkeConnect With a Mentor Online Marketing and ITCommented:
You may want to try hiding it as deleting it completely could be dangerous.

I found this method that works in 2007

Removing “Internet Newsgroups” in Exchange Server 2007

In legacy versions of Exchange, we saw the Internet Newsgroup public folder. This was intended to be used for a local NNTP source, where an org could have a local copy of some select newsgroups for their users to view. The feature never really went anywhere, and is now deprecated. But, if you’ve migrated from a legacy version of Exchange to Exchange 2007, the Internet Newsgroup is still there.

According to Microsoft, there is no supported method in Exchange 2007 for deleting that public folder. Some people have used ADSIEDIT to remove it, but that’s got the potential for disaster. The alternative is to hide it so it’s no longer visible.

Fire up Exchange Manager Shell and type

Get-PublicFolderClientPermission -identity "\Internet Newsgroups" | fl
By default, you should see permissions for two ‘users’, Default and Anonymous. Default are permissions for Active Directory authenticated users, and Anonymous is for unauthenticated users. We need to remove the permissions for Default.

Default has ReadItems, CreateItems, EditOwnedItems, and FolderVisible rights. We can’t just remove FolderVisible (that would make too much sense) since that’s a built in right that comes with some of the others. So we’ll remove them all by using:

Remove-PublicFolderClientPermission -identity "\Internet Newsgroups" -user Default -AccessRights ReadItems, CreateItems, EditOwnedItems, FolderVisible

Once you hit enter, you should be prompted to confirm the operation, and then the rights should be removed.

An important note is to leave a space between each right, and to only specify the rights that Default already has. Otherwise, you get an error.

Once the rights are removed, the Internet Newsgroups public folder will quickly disappear from Outlook.

While deleting the public folder may be preferred, hiding it from the list accomplishes the same end result as far as the user experience is concerned. This leaves a cleaner public folder hierarchy.

From http://www.ehloworld.com/113
0
 
bpiatekAuthor Commented:
Excellent Solution!
0
All Courses

From novice to tech pro — start learning today.