Solved

“Send as” rights everyone how can we find for all users in an OU.

Posted on 2011-02-21
6
346 Views
Last Modified: 2012-05-11
Hi,

“Send as” rights everyone how can we find for all users in an OU.

I want to know all users who has the send as check box selected for everyone.

Can anyone help with a script

Exchange 2007
0
Comment
Question by:bsharath
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:JanStoops
ID: 34949001
Get-Mailbox -OrganizationalUnit “OrganizationalUnitParameters¿ | Get-ADPermission | where { ($_.ExtendedRights -like “*Send-As*”) -and ($_.IsInherited -eq $false) -and -not ($_.User -like “NT AUTHORITY\SELF”) } | ft -wrap
0
 
LVL 11

Author Comment

by:bsharath
ID: 34949002
Thanks. How can i do for just one OU
0
 
LVL 3

Expert Comment

by:JanStoops
ID: 34949028
If you would like to have the results from OU name TEST in domain TESTDOMAIN.local use the following

Get-Mailbox -OrganizationalUnit "OU=TEST,DC=TESTDOMAIN,DC=TESTDOMAIN,DC=local" | Get-ADPermission | where { ($_.ExtendedRights -like “*Send-As*”) -and ($_.IsInherited -eq $false) -and -not ($_.User -like “NT AUTHORITY\SELF”) } | ft -wrap
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 11

Author Comment

by:bsharath
ID: 34949121
I get as this

lth.local/Offi LTH\GohP    False False     Send-As
ces/Users/Named Users/Goh P

can i get them to file and also i checked this user everyone does not have send as checked but get this user name
0
 
LVL 11

Author Comment

by:bsharath
ID: 34962112
Any help?
0
 
LVL 6

Accepted Solution

by:
efusion earned 500 total points
ID: 35002404
How about this to get the permissions for "Everyone":

Get-Mailbox -OrganizationalUnit "OU=TEST,DC=TESTDOMAIN,DC=TESTDOMAIN,DC=local" | Get-ADPermission | where { ($_.ExtendedRights -like “*Send-As*”) -and ($_.IsInherited -eq $false) -and ($_.User -like “Everyone”) } | ft -wrap
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to know the backup date of a restored DB? 4 46
powershell mailbox move question 8 43
Deploy restore partition 1 23
List all active account in AD 2 20
A procedure for exporting installed hotfix details of remote computers using powershell
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

685 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