Apply 'Hide from Exchange lists' to multiple AD accounts
Hi AllI have about 60 mail enabled accounts, all in the same OU, that I want to hide from the GAL. I assume this is carried out by ticking the 'Hide From Exchange lists' checkbox on the account's ADUC properties, but does anyone know how to automate/ script this?We are using Exchange 2003 SP2 with a 2003 AD functional level.Thanks in advance.
March 25th, 2009 3:14am

Hey,You can use ADModify.net to do bulk modification. Select all mail enabled accounts in the first step and select "Hide from Address lists" in Exchange General tab and all set for Go!...ADModify.NET - Homehttp://www.codeplex.com/admodifyUsing ADModify to Change Exchange Specific AD User Attributes in Bulkhttp://www.msexchange.org/articles/ADModify-Change-Exchange-Specific-AD-User-Attributes.htmlAmit Tank | MVP - Exchange | MCITP:EMA MCSA:M | http://ExchangeShare.WordPress.com
Free Windows Admin Tool Kit Click here and download it now
March 25th, 2009 5:14am

Another thought, you could get all the users from the OU: 'get-user -organizationalUnit "OU-Name"' and then pipe it into a command to hide the users: 'Set-MailboxHiddenFromAddressListEnabled $true'THis command should hide all users in that OU from the GAL.BP
March 25th, 2009 10:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics