Solved

Exchange 2007 powershell scripting\command question

Posted on 2014-04-15
2
362 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
[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
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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.
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 a Shared 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 >> Sha…
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…

742 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