Avatar of pramod1
pramod1
Flag 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
Exchange

Avatar of undefined
Last Comment
Patrick Bogers

8/22/2022 - Mon
Amit

Which version of Exchange. If Exchange 2010, you can use search mailbox command. For permission you can use add mailbox permission.
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
Amit

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Patrick Bogers

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
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
pramod1

ASKER
I have exchange 2007
Amit

I have also added automapping to false above. So mailbox doesn't maps to user mailbox automatically. Try it out.
ASKER CERTIFIED SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.