Solved

How can I add a user to have Full Access to a certain Database in Exchange 2010

Posted on 2014-12-15
4
79 Views
Last Modified: 2014-12-15
I need to add a certain user to have full access to a particular database (only this one) in Exchange 2010 and I need it so all future users added to this database will have the permission automatically added.

Correct syntax in PS?
0
Comment
Question by:BlueGoose
  • 2
  • 2
4 Comments
 
LVL 41

Accepted Solution

by:
Amit earned 500 total points
ID: 40501080
Here you go:

Get-MailboxDatabase -identity databasename | Add-ADPermission -user username -AccessRights GenericAll

Note: If you have space in your database names or usernames use "" Like this

Get-MailboxDatabase -identity "database name" | Add-ADPermission -user "user name" -AccessRights GenericAll

Pipe -whatif, if you want to know, what it will do, then remove -whatif and apply.

Get-MailboxDatabase -identity "database name" | Add-ADPermission -user "user name" -AccessRights GenericAll -whatif
0
 

Author Comment

by:BlueGoose
ID: 40501092
Thank you for the quick reply!  Will this make it so any new user added to this particular DB will also have those permissions added?
0
 
LVL 41

Expert Comment

by:Amit
ID: 40501102
Yes, it will apply on new user as well. So no further action required.
0
 

Author Comment

by:BlueGoose
ID: 40501112
Worked perfectly!  Thank you!
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

Utilizing an array to gracefully append to a list of EmailAddresses
A procedure for exporting installed hotfix details of remote computers using powershell
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
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…

919 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now