send as permission report
I need a report which includes all users that have a send as permission on their mailbox.
Could anyone advise me ?
Mir
August 31st, 2008 12:34pm
Hello Mir,
You can get report for whole environment for Send-As permission with below command...
Get-Mailbox | Get-ADPermission | Where {($_.ExtendedRights -like "*Send-As*") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF") } | FT -Wrap
You can export to CSV file with below command....
Get-Mailbox| Get-ADPermission | where { ($_.ExtendedRights -like "*Send-As*") -and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF") } | Select Identity, User, Deny, | Export-CSV test.csv
Hope this helps....
Free Windows Admin Tool Kit Click here and download it now
August 31st, 2008 5:05pm
Thank you Amit, will try to run it today
August 31st, 2008 5:54pm
I just documented it for all, who are checking this thread later
How To: Find All Mailboxes with Send-As PermissionAssigned
Free Windows Admin Tool Kit Click here and download it now
September 1st, 2008 11:58am
Thank you Amit for your great offered
September 3rd, 2008 12:59pm
My Pleasure...
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2008 1:19pm