Link to home
Start Free TrialLog in
Avatar of bsharath
bsharathFlag for India

asked on

Find all the users in a OU if the "Hide from Exchange address list" is ticked. With OU path

Hi,

Find all the users in a OU if the "Hide from Exchange address list" is ticked.
3 checks
Remove the check on all users in an OU
Remove the check in all the the Domain
Get the OU path of all users Checked in the domain.

Regards
Sharath
Avatar of Farhan Kazi
Farhan Kazi
Flag of Australia image

When you are saying remove check from all domain users then what the use of this >> Remove the check on all users in an OU ?.

So the script will perform following tasks:
>> Find all the users in a OU if the "Hide from Exchange address list" is ticked.
>> Get the OU path of all users Checked in the domain.
>> Remove the check in all the the Domain

Correct me if Im wrong.


Avatar of bsharath

ASKER

Yes farhan ...I wanted this options as when required could do for the specific OU alone...
ASKER CERTIFIED SOLUTION
Avatar of Farhan Kazi
Farhan Kazi
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Farhan

If no OU path mentione it will remove the tick from all users in the Domain.
If OU path mentioned then it will remove the tick on any users in the OU.

Will i have the results file with the OU path.?
>> If no OU path mentione it will remove the tick from all users in the Domain.
     YES

>> If OU path mentioned then it will remove the tick on any users in the OU.
    YES

>>Will i have the results file with the OU path.?
     It will list all users from Domain/OU inside HiddenUserRpt.txt'
Hi Farhan,

If you are free this week end can you help me in some Q...'s please.

Just a reminder on updating your profile...:)