Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2011-09-07
9
Medium Priority
?
811 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 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
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

 
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
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
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …
Suggested Courses

670 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