Go Premium for a chance to win a PS4. Enter to Win

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

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

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
realtimer
Asked:
realtimer
  • 4
  • 2
  • 2
3 Solutions
 
Raheman M. AbdulCommented:
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
 
Todd NelsonSystems EngineerCommented:
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
 
Raheman M. AbdulCommented:
correction in my script:
use:
-AutoMapping $false

Open in new window

 instead of -AutoMapping:$false
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 
realtimerAuthor Commented:
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
 
Todd NelsonSystems EngineerCommented:
Give this a try...

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

Open in new window

0
 
Todd NelsonSystems EngineerCommented:
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
 
realtimerAuthor Commented:
Agreed - it was an overly hasty click and complete.  I'll be happy to reopen and awards points and rectify my error.
0
 
Todd NelsonSystems EngineerCommented:
Split points
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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