Is there a PS Cmdlet to update showInAddressBook attribute of a recipient?

This is the scenario I am facing::

I set the msExchHideFromAddressList to TRUE. But, I am still able to view the recipient in the address list though the details are not displayed. Is there any cmdlet to populate and clear showInAddressBooks attribute as it does in EMC?

February 27th, 2015 10:15am

Not from Exchange but you can do it this way,

Get-ADObject -Identity <distinguishedName of the object> | Set-ADObject -Clear showInAddressBook

Free Windows Admin Tool Kit Click here and download it now
February 27th, 2015 12:48pm

Hi,

If we just set the msExchHideFromAddressList to TRUE, then this user will not be hidden form address book and you can see this user in address book except detailed information of this user. If you want to hide this user in address book, please try the following steps:

  1. Open EMC, navigate to Recipient Configuration -> Mailbox.
  2. Then choose that user, double-click to properties.
  3. Under General tab, uncheck the box Hide from Exchange address lists, then click Apply.
  4. Then recheck the box Hide from Exchange address lists, click OK to apply this change and close window.
  5. Now, check this user in the address list.

To clear showInAddressBooks attribute via PS Cmdlet, try this script:

https://gallery.technet.microsoft.com/office/Remove-Exchange-Attributes-3b39b2de#content

Best Regards.

March 2nd, 2015 3:27am

if i can use this to clear the attribute, how do i repopulate values using any ps cmdlet?

Free Windows Admin Tool Kit Click here and download it now
March 5th, 2015 12:43am

Take a look at this,

https://technet.microsoft.com/en-us/library/ee617254.aspx?f=255&MSPPError=-2147217396

March 5th, 2015 1:05am

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

Other recent topics Other recent topics