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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.