Solved

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

Posted on 2011-02-21
6
314 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
Comment Utility
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
Comment Utility
Thanks. How can i do for just one OU
0
 
LVL 3

Expert Comment

by:JanStoops
Comment Utility
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 11

Author Comment

by:bsharath
Comment Utility
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
Comment Utility
Any help?
0
 
LVL 6

Accepted Solution

by:
efusion earned 500 total points
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
Synchronize a new Active Directory domain with an existing Office 365 tenant
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

763 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

7 Experts available now in Live!

Get 1:1 Help Now