Link to home
Start Free TrialLog in
Avatar of paullord
paullord

asked on

Exchange 2010 - Alias Send As permission list Powershell command

Hi All-

Can somebody provide a Powershell command that will list aliases including distribution group aliases that contain the “Send As Permission” from other than Self and export to a .csv file

The below does most of this but does not include distribution group aliases.

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

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
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