Solved

How do you set calendar Permisions in Exchange 2010 from PowerShell

Posted on 2011-09-29
9
1,004 Views
Last Modified: 2012-05-12
Hi
I need to give one user the ability to review 10 other users calendar.

How do I do this via PowerShell?
0
Comment
Question by:cmiadmin
  • 5
  • 4
9 Comments
 
LVL 5

Expert Comment

by:PYThePorkpie
ID: 36814009
0
 
LVL 1

Author Comment

by:cmiadmin
ID: 36814056
Hi I have seen that article already.

I know there is a command for adding permisions to a mailbox so that another user can view the calendar on that mailbox.  I just don't know how to format it.
0
 
LVL 5

Expert Comment

by:PYThePorkpie
ID: 36814069
Sorry meant to add the following. if you get the mailboxes you want updated into a CSV file, then I would do it something like the following:
import-csv "c:\users.csv"| ForEach-Object {Add-MailboxFolderPermission $_":\Calendar" -User user.name@domain.com -AccessRights Reviewer}
0
 
LVL 1

Author Comment

by:cmiadmin
ID: 36814130
Thank you. That looks better.

Just to clarify:

 -User user.name@domain.com -AccessRights Reviewer}

Is the username of the person who want to be able to review the caleandars.
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 5

Accepted Solution

by:
PYThePorkpie earned 500 total points
ID: 36814157
That's correct and the csv file contains the mailboxes you want that user to be added to.
0
 
LVL 1

Author Closing Comment

by:cmiadmin
ID: 36814161
Thank you for your help.
0
 
LVL 1

Author Comment

by:cmiadmin
ID: 36814506
Hi
I have listed my users users in the csv file.
they are all listed under colum 1.

Juilian Bott
Kate Adams
Kay Bott
Sam Smith
etc

howver when I run import-csv "c:\users.csv"| ForEach-Object {Add-MailboxFolderPermission $_":\Calendar" -User stephen.cox@nsf-cmi.com -AccessRights Reviewer}

I get the following error for each user.  What have I done wrong?


The specified mailbox "@{Julian.Bott@nsf-cmicertification.com=Kate.Adams@nsf-cmicertification.com}" doesn't exist.
    + CategoryInfo          : NotSpecified: (0:Int32) [Add-MailboxFolderPermission], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : 98298CDD,Microsoft.Exchange.Management.StoreTasks.AddMailboxFolderPermission

0
 
LVL 5

Expert Comment

by:PYThePorkpie
ID: 36815438
The CSV should be comma seperated but it looks like you have the equals sign as a seperator so its picking an invalid string. You may want to open the file you created in Excel and make sure each user is on a separate row and then save as a csv. FYI I created the csv by runnning get-mailbox|export-csv "c:\users.csv".
0
 
LVL 1

Author Comment

by:cmiadmin
ID: 36815537
OK

Thank you very much.

Regards

Kevan
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…

746 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

13 Experts available now in Live!

Get 1:1 Help Now