Solved

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

Posted on 2011-09-07
9
801 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
[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
  • 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 500 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
Does Powershell have you tied up in knots?

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

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Read this checklist to learn more about the 15 things you should never include in an email signature.
Many people use more than one email account and so it becomes difficult for them to manage them when they use separate accounts,  so, in this article, I have shared an easy way to add Other Mail Accounts in your Google Inbox. It helps to combine all…
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

751 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