Solved

Exchange 2010. Grant Full Access to all mailboxes for a user [without them getting added within the user's OST].

Posted on 2016-10-14
10
111 Views
Last Modified: 2016-11-15
Hello,

A manager wants access to all users' mailboxes.  I want to go to Exchange Management Console; then access each mailbox and give Full Access to each mailbox.

However, she would like each mailbox available as an individual profile in Outlook.  We don't want each mailbox to automatically populate within her mailbox...or her OST will get very large and create problems.

How can I do this?

Thanks in advance.

Regards,
Real-Timer
0
Comment
Question by:realtimer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
10 Comments
 
LVL 19

Accepted Solution

by:
Raheman M. Abdul earned 275 total points (awarded by participants)
ID: 41844374
do for each staff member :
$user1 = "staff1@domain.com"
$manager = "manager@domain.com"

Add-MailboxPermission -Identity $user1  -User $manager  -AccessRights FullAccess -AutoMapping:$false

Open in new window

this wont add into manager's outlook but manager can open it using "open other user's mailbox" in her outlook or she can access the mailbox by  using outlook profile using her credentials
0
 
LVL 16

Assisted Solution

by:Todd Nelson
Todd Nelson earned 225 total points (awarded by participants)
ID: 41844415
Or if you need to assign permissions to the same manager for all mailboxes, run this command

Get-Mailbox | Add-MailboxPermission -User "ManagerName" -AccessRights FullAccess -AutoMapping $false

Open in new window


Or if you need to only provide the manager with access to a specific list of users, create a CSV file with the names of the user mailboxes and the manager.

CSV File Sample named GiveAccess.csv...

Manager,User
Mary,John
Mary,Joe
Mary,Jane

Open in new window


The run a command similar to this...

Import-Csv "C:\GiveAccess.csv" | ForEach-Object { Add-MailboxPermission -Identity $_.User -User $_.Manager -AccessRights FullAccess -AutoMapping $false }

Open in new window


Hope that helps.
0
 
LVL 19

Expert Comment

by:Raheman M. Abdul
ID: 41844423
correction in my script:
use:
-AutoMapping $false

Open in new window

 instead of -AutoMapping:$false
0
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

 

Author Comment

by:realtimer
ID: 41844429
Thank you all.  If I may ask just one more follow up question.  Is there a command I can run that will list which mailboxes that the manager has access to?
0
 
LVL 16

Assisted Solution

by:Todd Nelson
Todd Nelson earned 225 total points (awarded by participants)
ID: 41844638
Give this a try...

Get-Mailbox | Get-MailboxPermission | Where-Object { $_.User.tostring() -eq "DOMAIN\ManagerName" -and $_.IsInherited -eq $false }

Open in new window

0
 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41846824
Realtimer,

I don't object with the answer you chose but I do object to not selecting any additional answers given your request for "all users' mailboxes" and your second request.

A manager wants access to all users' mailboxes.

Yes, it can be done on a user by user basis as Raheman provided, but that would take a long time for you to enter each name and run the command for each individual mailbox.  It is much more efficient to run commands for "all users' mailboxes" as you stated using a blanket command or CSV file.

If I may ask just one more follow up question.  Is there a command I can run that will list which mailboxes that the manager has access to?

You asked an additional question too that should be awarded appropriately.

Please reconsider the awarding of the points appropriately.
0
 

Author Comment

by:realtimer
ID: 41861422
Agreed - it was an overly hasty click and complete.  I'll be happy to reopen and awards points and rectify my error.
0
 
LVL 16

Expert Comment

by:Todd Nelson
ID: 41887593
Split points
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

617 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