Solved

powershell command to give send as permission to one mailbox for all exchange mailbox

Posted on 2015-02-04
11
55 Views
Last Modified: 2015-02-18
hello,

i need a command to give one mailbox a send as permission to entire exchange 2013 mailbox.

thank you
0
Comment
Question by:cawasaki
[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
  • 3
  • 2
  • +2
11 Comments
 
LVL 16

Expert Comment

by:Ivan
ID: 40588319
Hi,

command is: Add-ADPermission "Test" -User "Domain\User" -Extendedrights "Send As"
where -User "Domain\User" is a user that will get Send As right to a "Test" mailbox.

Regards,
0
 
LVL 16

Expert Comment

by:Ivan
ID: 40588321
Btw, did you mean 1 user to get Send As right to all mailboxes in one database or in all databases, eg. on all mailboxes?
0
 
LVL 20

Expert Comment

by:Satya Pathak
ID: 40588325
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:cawasaki
ID: 40588328
hello

one mailbox need to get right for all mailbox in all database :)
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40588329
Use the following command below to accomplish this...
$Users = get-mailbox -resultsize "unlimited"
Foreach ($user in $users) { 
Add-ADPermission -Identity $user -User "yourusername" -Extendedrights "Send As"
}

Open in new window


Get-mailbox -resultsize "unlimited" | Add-ADPermission -User "yourusername" -Extendedrights "Send As"

Open in new window


Will.
0
 

Author Comment

by:cawasaki
ID: 40588337
i need a way for all organisation.

i mean tomorow if i create 100 new mailbox, i need the right automaticly applicated to it
0
 
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40588363
You can use my powershell script which will do this for all users in your organization. Either one will work.

Will.
0
 

Author Comment

by:cawasaki
ID: 40588396
hi Will,

your powershell script will work only for existing mailbox, and i need my mailbox to have right to all new mailbox created in future without execute script every time
0
 
LVL 24

Expert Comment

by:VB ITS
ID: 40588418
This command should do it:
Get-MailboxDatabase -Identity "Mailbox Database Name" | Add-ADPermission -User "Your User Name" -ExtendedRights Send-As

Open in new window

0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 40588445
If you want Send As on everything in the domain what you need to do is Open Active Directory Users and Computers, from there at the top level domain domain.com do the following...
- make sure that "view advanced features" is enabled
- right click domain.com
- select properties
- click security tab
- click the advanced button
- click Add button
- add your account (or a group) that you want to apply this permission to
- Add the Send As permission at this level

As view the Exchange Team Blog for additonal details.
http://blogs.technet.com/b/exchange/archive/2005/01/07/348596.aspx

Will.
0
 

Author Comment

by:cawasaki
ID: 40616045
hello

thanks will, i have use your method and its work
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Export list of Exchange Online user's Photo 4 44
import-csv powershell 8 31
How do I convert from bytes to TB 4 28
Copy files and run psex to windows 7 only 14 47
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
how to add IIS SMTP to handle application/Scanner relays into office 365.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

732 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