Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Is there an EMS command to hide users from the Global Address List?

Posted on 2011-09-07
9
Medium Priority
?
814 Views
Last Modified: 2012-05-12
Hi

Having created about 1400 student mailboxes for a school, we need to hide them from the GAL, to prevent students from easily bulk mailing the school.  Is there an EMS command that will allow me to do this, rather then go to each mailbox properties and clicking Hide from Exchange Address Lists?

Thanks
0
Comment
Question by:Glen_TTL
  • 5
  • 3
9 Comments
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36495472
Not tried this personally, but the following article looks very promising:

http://exchangeserverpro.com/how-to-remove-mail-users-from-the-global-address-list
0
 
LVL 4

Accepted Solution

by:
Daelt earned 2000 total points
ID: 36495489
I guess that with so many user, they might have their own OU so i suggest u hide them by OU:

Get-Mailbox -OrganizationalUnit "Students" | Set-Mailbox -HiddenFromAddressListsEnabled $true
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36495491
If you have the users organised by OU's, then the following should work:

Get-Mailbox -OrganizationalUnit "OU Name" | Set-Mailbox -HiddenFromAddressListsEnabled $true
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36495500
Darn - it's all in the timing :0
0
 
LVL 4

Expert Comment

by:Daelt
ID: 36495525
Darn - it's all in the timing :0

Kinda yes lol, i wont care if he shares the points between us ;)

@Glen : U'd bette hide them by OU, will be easier manage, and no trouble while adding new students accounts.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36495580
1st correct answer is the one which should get the points - split is fine, but you have a few less than me and I don't need them ;)

What's important is that Glen gets an answer that works for him.
0
 
LVL 4

Expert Comment

by:Daelt
ID: 36495611
What's important is that Glen gets an answer that works for him.

i agree.
0
 

Author Closing Comment

by:Glen_TTL
ID: 36496544
This command worked a treat!!!!  Thanksto all once again for a prompt response.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 36496793
Good call on the points too.  Well done Daelt.  Until next time :)
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
Mailbox Corruption is a nightmare every Exchange DBA wishes he never has. Recovering from it can be super-hectic if not entirely futile. And though techniques like the New-MailboxRepairRequest cmdlet have been designed to help with fixing minor corr…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses
Course of the Month10 days, 22 hours left to enroll

885 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