get-mailbox $u.SamAccountName|select HiddenFromAddressListsEnabled set-mailbox $u.SamAccountName -HiddenFromAddressListsEnabled $true
get-mailbox $u.SamAccountName|select HiddenFromAddressListsEnabled set-mailbox $u.SamAccountName -HiddenFromAddressListsEnabled $true
转载于:https://www.cnblogs.com/dreamer-fish/p/6077425.html