Open
Description
when I suggest a fix in [https://github.com//issues/58], i didn't follow the code and later discovered that it only look at the HiddenFromAddressListsEnabled property, that had nothing to-do with shared mailboxes.
On the file GET-Gal-Contacts.ps1 line 64 I suggest following change.
DirectoryList = $(Get-EXOMailbox -ResultSize unlimited -PropertySets Minimum,AddressList | Where-Object {($_.HiddenFromAddressListsEnabled -Match "False") -and ($_.RecipientTypeDetails -notmatch "SharedMailbox")} )
This will keep backward compatibility, but also filter all shared-mailboxes.