Solved

Exchange 2010 - Alias Send As permission list Powershell command

Posted on 2013-06-11
1
1,714 Views
Last Modified: 2013-06-13
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
0
Comment
Question by:paullord
1 Comment
 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 500 total points
ID: 39237819
Get-DistributionGroup | Get-ADPermission | where { ($_.ExtendedRights -like "*Send-As*") –and ($_.IsInherited -eq $false) -and -not ($_.User -like "NT AUTHORITY\SELF") } | Select Identity, User, Deny | Export-DL perm.csv

You will have to run this for DL

- Rancy
0

Featured Post

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now