Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 2, 2018 10:32 PM
we did bulk migration and user's msExchHideFromAddressLists got configured as true.
Is there a way I can provide samaccount name and set it back as Not set.
get-content D:\users.txt |foreach {Set-adUser $_ -Add @{msExchHideFromAddressLists="Not Set"}}
All replies (4)
Friday, August 3, 2018 3:50 PM ✅Answered
I just needed it to be set as not set not true or false. so following does the trick.
Set-ADUser -Identity "samaccountname" -clear msExchHideFromAddressLists
Friday, August 3, 2018 4:05 PM ✅Answered
That is exactly the same as setting it to $false.
\(ツ)_/
Friday, August 3, 2018 12:14 AM | 2 votes
Set it to $false.
\(ツ)_/
Friday, August 3, 2018 8:23 AM
Hi,
Thanks for your question.
About the value of the attribute "msExchHideFormAddressLists" is Blooean. You can set it as $true or $false.
The following link is some information I found about an attribute.
https://msdn.microsoft.com/en-us/library/cc223177.aspx
Best Regards,
Lee
Just do it.