How do I 'Mass' Hide from Exchange Address List in Exchange 2007?

indsupport
indsupport used Ask the Experts™
on
How do I 'Mass' Hide from Exchange Address List in Exchange 2007?

Topic says it all!

It's on Windows 2003 so I cannot use AD normally for this. I can single view a mailbox in the Exchange Management Console, but i have about 50 to do.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Use the shell to perform the commands. Do you have a list of the user account names in txt or csv format? Should be easy enough to make.

(make sure your CSV has a Name column heading)
Import-CSV <path to csv file> | foreach {set-mailbox $_.Name -HiddenFromAddressListEnabled $true}

or for text

Get-Content <path to text file> | foreach {set-mailbox $_ -HiddenFromAddressListEnabled $true}

Author

Commented:
Cool

I will check it out

Was thinking of an app that did this as well. let me know

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial