Exchange 2010 - Assigning Access to All Mailboxes

Hello,

I was reading the following article on Experts Exchange regarding providing access to a user and/or group for allowing access to all Exchange 2010 mailboxes.

I brought this to the attention of an colleague, and he mentioned that this syntax would be another option.

Get-Mailbox -ResultSize unlimited -Filter {RecipientTypeDetails -eq 'UserMailbox'} | Add-Mailboxpermission -User <Identity> -AccessRights FullAccess -InheritanceType All –Automapping $False


The section I bolded, is that really necessary to use in this command string? What gain would there be from using this vs the syntax originally provided in the link, if any.

Thanks.
victory2201Asked:
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.

AmitIT ArchitectCommented:
In the article you mentioned, it is applied to only one users. If you want to apply it on all users. You need to use command your friend provided.

Your colleague used a filter to apply it on User Mailbox type. As there are other type of mailboxes, like room mailboxes. So this filter will make to sure that it is applied to only usermailboxes type. You can add -whatif at the end and see what it will do and remove -whatif when you want to apply it. Hope this helps.
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
victory2201Author Commented:
The Get-Mailbox command should call out all mailboxes in Exchange, correct? That previous link's syntax should work fine for all mailboxes, from what I see.

With that command I posted above, its calling out the -User function, however you should be able to specify a AD Group there as well, if not mistaken?


Thanks.
0
victory2201Author Commented:
Amit,

Just to confirm, by running the command below, there should be no negative affects against my Exchange environment, correct?

Get-Mailbox -ResultSize unlimited -Filter {RecipientTypeDetails -eq 'UserMailbox'} | Add-Mailboxpermission -User Administrator -AccessRights FullAccess -InheritanceType All –Automapping $False

Since its using the -User command, would it be possible to  place a AD Group name there instead?

Thanks.
0
AmitIT ArchitectCommented:
This command will just add the permission. So no impact.
0
victory2201Author Commented:
What about adding an AD group in place of the individual user?
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
Microsoft Legacy OS

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.