Solved

Exchange 2010 - Assigning Access to All Mailboxes

Posted on 2014-07-22
5
131 Views
Last Modified: 2014-07-25
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.
0
Comment
Question by:victory2201
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 43

Accepted Solution

by:
Amit earned 100 total points
ID: 40212346
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
 

Author Comment

by:victory2201
ID: 40212904
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
 

Author Comment

by:victory2201
ID: 40214516
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
 
LVL 43

Expert Comment

by:Amit
ID: 40214669
This command will just add the permission. So no impact.
0
 

Author Comment

by:victory2201
ID: 40214676
What about adding an AD group in place of the individual user?
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

737 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