Link to home
Start Free TrialLog in
Avatar of dougdog
dougdog

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of Peter Hutchison
Peter Hutchison
Flag of United Kingdom of Great Britain and Northern Ireland 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 dougdog
dougdog

ASKER

How can I do this for all databases
And do I need to run it after new users are created
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
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
To run it for all mailbox databases, just leave off the mailbox database name.
e.g.
Get-MailboxDatabase  | Add-MailboxPermission -User userid -AccessRights FullAccess