Link to home
Start Free TrialLog in
Avatar of victory2201
victory2201

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Amit
Amit
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of victory2201
victory2201

ASKER

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.
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.
This command will just add the permission. So no impact.
What about adding an AD group in place of the individual user?