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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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

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

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
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

vmichAuthor Commented:
Ok thanks I will give it a try and let you know...
vmichAuthor Commented:
that worked great... Thanks for the help
Zac HarrisSystems Administrator Commented:
Glad I could help you out! :)
vmichAuthor Commented:
run above powershell command
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.