Solved

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

Posted on 2011-09-07
9
807 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
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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.
This article describes how to import Lotus Notes Contacts into Outlook 2016, 2013, 2010 and 2007 etc. with a few manual steps. You can easily export and migrate Lotus Notes contacts into Microsoft Outlook without having to use any third party tools.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

623 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