Solved

How do you set calendar Permisions in Exchange 2010 from PowerShell

Posted on 2011-09-29
9
1,013 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
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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
 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
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.
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 …
This video discusses moving either the default database or any database to a new volume.

803 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