If you want an easy way to get a list of all the mailboxes that are currently hidden from the GAL, you can use the following cmdlet:
Get-Mailbox -ResultSize Unlimited -Filter {HiddenFromAddressListsEnabled -eq $True}
You can also export all their information to a CSV file:
Get-Mailbox -ResultSize Unlimited -Filter {HiddenFromAddressListsEnabled -eq $True} | Export-CSV D:\HiddenMbxs.csv
I need your help it seems that I have an extra email address because I have to send my messages twice can you please help me with this
Hi Macy. I’m sorry, but I’m not sure what you mean… Can you provide more details?