Solved

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

Posted on 2011-02-21
6
333 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
A brief introduction to what I consider to be the best editor for PowerShell.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

786 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