Solved

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

Posted on 2011-02-21
6
357 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
Ready to trade in that old firewall?

Whether you need to trade-up to a shiny new Firebox or just ready to upgrade from whatever appliance you're using now, WatchGuard has the right appliance for you! Find your perfect Firebox today with appliance sizing tool!

 
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

626 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