We help IT Professionals succeed at work.

EXCHANGE

pramod1
pramod1 asked
on
123 Views
Last Modified: 2018-02-07
user wants to search emails for everybody in the organization

so I want to run script to make him delegate for all mailbox users in the company

so he can search emails or calendars

is there any command I can run
Comment
Watch Question

AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
Which version of Exchange. If Exchange 2010, you can use search mailbox command. For permission you can use add mailbox permission.

Author

Commented:
it is exchange 2007, what command should I run so that user A has delegate access to all other mailbox users or employees in the company
AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2017
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
Patrick BogersDatacenter platform engineer Lindows
CERTIFIED EXPERT

Commented:
Hi

Why on earth you want that, this user have to add all mailboxes to his e.g. Outlook and download ALL content.
Anteaters, you can do it. Exchange 2010 and newer.

Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox') -and (Alias -ne 'Admin')} | Add-MailboxPermission -User <theiwanttoreaddallusername> -AccessRights fullaccess -InheritanceType all

Cheers

Author

Commented:
I have exchange 2007
AmitIT Architect
CERTIFIED EXPERT
Distinguished Expert 2017

Commented:
I have also added automapping to false above. So mailbox doesn't maps to user mailbox automatically. Try it out.
Datacenter platform engineer Lindows
CERTIFIED EXPERT
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION