• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

Powershell to Hide From Exchange Address Lists

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Management >> Powershell to Hide From Exchange Address Lists Page: [1]
Login
Message << Older Topic   Newer Topic >>
Powershell to Hide From Exchange Address Lists - 12.Jan.2009 1:37:03 PM   
catzodellamarina

 

Posts: 143
Joined: 26.Feb.2008
Status: offline
Looking for the Poweshell command path to set a group of users mailboxes (by Org Unit or RecipientFilter by Company) to Hide From Exchange Address Lists.
Post #: 1
RE: Powershell to Hide From Exchange Address Lists - 12.Jan.2009 2:16:09 PM   
Draconis

 

Posts: 256
Joined: 11.Sep.2008
From: Connecticut, USA
Status: offline
Try these...

Hide From GAL by OU:
Get-Mailbox -OrganizationalUnit "Marketing" | Set-Mailbox -HiddenFromAddressListsEnabled $true

Hide From GAL by Company:
Get-User -Filter {Company -eq 'Microsoft'} | Get-Mailbox -resultsize unlimited | Set-Mailbox -HiddenFromAddressListsEnabled $true

(in reply to catzodellamarina)
Post #: 2
RE: Powershell to Hide From Exchange Address Lists - 12.Jan.2009 2:59:16 PM   
catzodellamarina

 

Posts: 143
Joined: 26.Feb.2008
Status: offline
Outstanding!  I was close at my attempt but close never cuts it when it comes to Powershell.  Thanks.

(in reply to Draconis)
Post #: 3
RE: Powershell to Hide From Exchange Address Lists - 19.Sep.2011 9:18:56 AM   
guruleenyc

 

Posts: 1
Joined: 19.Sep.2011
Status: offline
This was VERY helpful, thanks!

quote:

ORIGINAL: Draconis

Try these...

Hide From GAL by OU:
Get-Mailbox -OrganizationalUnit "Marketing" | Set-Mailbox -HiddenFromAddressListsEnabled $true

Hide From GAL by Company:
Get-User -Filter {Company -eq 'Microsoft'} | Get-Mailbox -resultsize unlimited | Set-Mailbox -HiddenFromAddressListsEnabled $true

(in reply to Draconis)
Post #: 4
RE: Powershell to Hide From Exchange Address Lists - 3.Oct.2011 12:35:28 PM   
shanmarsh1

 

Posts: 139
Joined: 13.Sep.2011
Status: offline
Well, I havent used that Quest PS snap-in, so I Cant tell you if it supports Exch 2007 or not. If it works using the 2007 tools (either the gui or Powershell), then I would say its an issue with the Quest stuff.

Body Armour | Safeguard Clothing

(in reply to catzodellamarina)
Post #: 5

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Management >> Powershell to Hide From Exchange Address Lists Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter