Solved

Exchange 2007 powershell scripting\command question

Posted on 2014-04-15
2
358 Views
Last Modified: 2014-04-15
Hey all, I have a problem I am hoping someone here can help. I have a Exchange server 2007 server, and I need to add the user "terry" as an owner to all the pubic folders we have (around 100).

I ran the "Add-PublicFolderClientPermission -Identity "\customer clients\customer1" -User terry -AccessRights Owner" command and it works, but I dont want to have to run the command against every single public folder, as that would take forever.

Can someone tell me a better command to use to assign her the owner role on all public folders?
0
Comment
Question by:tx_it_guy
2 Comments
 
LVL 8

Accepted Solution

by:
EEhotline earned 500 total points
ID: 40002151
In the exchange powershell goto the Scripts folder under Exchange Server:

C:\Program Files\Microsoft\Exchange Server\V14\Scripts

There are a lot of helpful scripts. the one you need is AddUsersToPFRecursive.ps1

.\\AddUsersToPFRecursive.ps1 -TopPublicFolder "\\xxxwhere to startxxx" -User "xxx_user_xxx" -Permissions Owner

or try this:

Get-PublicFolder –Identity “a publicfolder name” –Recurse | Add-PublicFolderClientPermission –User username –AccessRights Owner

Ref: http://port25guy.com/2009/11/13/how-to-apply-permissions-to-public-folder-and-all-sub-folders-in-exchange-20072010-using-exchange-management-shell/
0
 

Author Closing Comment

by:tx_it_guy
ID: 40002246
excellent!! thank you!
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a User Mailbox 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 Recipients >> Mailb…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

863 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

27 Experts available now in Live!

Get 1:1 Help Now