Solved

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

Posted on 2013-12-19
5
535 Views
Last Modified: 2014-01-09
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
Comment
Question by:dougdog
5 Comments
 
LVL 19

Accepted Solution

by:
Peter Hutchison earned 500 total points
ID: 39729989
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
 

Author Comment

by:dougdog
ID: 39730134
How can I do this for all databases
And do I need to run it after new users are created
0
 
LVL 4

Expert Comment

by:Vlastimil Sopuch
ID: 39731021
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
 
LVL 4

Expert Comment

by:Jeffery Hayes
ID: 39738265
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
 
LVL 19

Expert Comment

by:Peter Hutchison
ID: 39768335
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

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

809 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