Link to home
Start Free TrialLog in
Avatar of pramod1
pramod1Flag for United States of America

asked on

EXCHANGE

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
Avatar of Amit
Amit
Flag of India image

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

ASKER

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
SOLUTION
Avatar of Amit
Amit
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
Avatar of pramod1

ASKER

I have exchange 2007
I have also added automapping to false above. So mailbox doesn't maps to user mailbox automatically. Try it out.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial