[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

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

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

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
BlueGoose
Asked:
BlueGoose
  • 2
  • 2
1 Solution
 
AmitIT ArchitectCommented:
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
 
BlueGooseAuthor Commented:
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
 
AmitIT ArchitectCommented:
Yes, it will apply on new user as well. So no further action required.
0
 
BlueGooseAuthor Commented:
Worked perfectly!  Thank you!
0

Featured Post

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

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