Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-02-21
6
Medium Priority
?
364 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 2000 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

Are You Ready for GDPR?

With the GDPR deadline set for May 25, 2018, many organizations are ill-prepared due to uncertainty about the criteria for compliance. According to a recent WatchGuard survey, a staggering 37% of respondents don't even know if their organization needs to comply with GDPR. Do you?

Question has a verified solution.

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

In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

688 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