Solved

Exchange 2010 - Alias Send As permission list Powershell command

Posted on 2013-06-11
1
1,742 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

773 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