Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 546
  • Last Modified:

whats the best way to give a user account full mailbox access to all exchange 2010 mailboxes and new ones that will be created

i need to give a user account full mailbox access to all other exchange 2010 mailboxes
this account also needs to have full mailbox access to any new mailboxes that get created in the future
0
dougdog
Asked:
dougdog
1 Solution
 
Peter HutchisonSenior Network Systems SpecialistCommented:
Use the following command to apply permissions to user or group to get full mailbox access to all users on a database:

Get-MailboxDatabase "Name of database" | Add-MailboxPermission -User userid -AccessRights FullAccess
0
 
dougdogAuthor Commented:
How can I do this for all databases
And do I need to run it after new users are created
0
 
Vlastimil SopuchDirectorCommented:
Hi,

You could use PowerShell ISE, copy the cmdlet for each database and then save it as .PS1
Yes, you'd need to run it for each new user created unless you're already creating the mailboxes via powershell..

Thanks
0
 
Jeffery HayesSystem Support Technician Commented:
I'd go with Group Policy as I thinks this can be done.

http://technet.microsoft.com/en-us/library/cc875827.aspx 

However this would also work if you were only trying to add permission on the accounts which were created within the last 7 days.

$week = (Get-Date).AddDays(-7)
Get-MailboxDatabase "Name of database" | where { $_.whenCreated -ge $week }  Add-MailboxPermission -User userid -AccessRights FullAccess
0
 
Peter HutchisonSenior Network Systems SpecialistCommented:
To run it for all mailbox databases, just leave off the mailbox database name.
e.g.
Get-MailboxDatabase  | Add-MailboxPermission -User userid -AccessRights FullAccess
0
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.

Join & Write a Comment

Featured Post

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now