List of users with SEND AS permission to a mailbox

Joe_Budden
Joe_Budden used Ask the Experts™
on
Any way I can get an output of this in Exchange 2007?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
You can use get-adpermission command to see who all has send as permission on a mailbox. Pls refer technet - http://technet.microsoft.com/en-us/library/bb125183(EXCHG.80).aspx for more details on command.

Author

Commented:
Sure, but how would I get an export of just SEND AS for Marketing? The link doesn't show how?

Commented:
Get-ADPermission ......  | Export-CSV test.csv
Top Expert 2011
Commented:
Hi,

Ofcourse you can go to the Marketing user in Exchange Management Console and choose Manage Send-as permissions.
If you would like to get a output file use this command:
Get-Mailbox -identity Marketing | Get-ADPermission | where { ($_.ExtendedRights -like “*Send-As*”) } | Select User | Out-File sendas.log

Try the below

get-mailbox -identity exchangealias -resultsize unlimited | get-mailboxpermission | where { ($_.accessrights -eq "SendAs") -and ($_.isinherited -eq $false) -and -not ($_.user -like "NT Authority\self")} | ft identity,user -autosize | out-file c:\log\users.txt

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial