How to give 1 users access to evryones calendars in exch 2013

What is the command I need to run to give 1 user access to everyones calendars?
LVL 1
vmichAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zac HarrisSystems Administrator Commented:
This should work for you:

Foreach ($mbx in get-mailbox){

$calendar=$mbx.alias+":\Calendar"

Add-mailboxfolderpermission -identity $calendar -user username -AccessRights PublishingEditor

}

Open in new window

0
vmichAuthor Commented:
Ok not sure what I am to type for this. Excuse my ignorance but can you explain?
Again it is one use so say the user name is Bob and he needs to access everyone calendars.
0
Zac HarrisSystems Administrator Commented:
You would use powershell.

Here is another command that will accomplish this for you as well

(Get-Mailbox).identity | foreach {Add-MailboxFolderPermission $_":\calendar" -User UserName -AccessRights reviewer -whatif}

Open in new window

Change UserName to the user who needs the access and change the AccessRights as required.  When you are happy that it is correct remove the -whatif to run it.

Refer to the following link for an explanation on the different Access Rights levels:
Exchange Access RIghts
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

vmichAuthor Commented:
Ok thanks I will give it a try and let you know...
0
vmichAuthor Commented:
that worked great... Thanks for the help
0
Zac HarrisSystems Administrator Commented:
Glad I could help you out! :)
0
vmichAuthor Commented:
run above powershell command
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.