Exploring LYNC Contact folders using PowerShell.
Get-MailboxFolderStatistics will display all the folders information in users mailbox. So using this we can explore LYNC Contacts with the folder type ‘Quick Contacts’.
Get-MailboxFolderStatistics -Identity <MailboxID> | ? {$_.FolderType -eq 'QuickContacts'}
Lync Contact Folders with 0 Entries
If we delete lync contacts programmatically it may appear as GUID as well. Like shown below.
Get-MailboxFolderStatistics -Identity <MailboxID> | Select Name , ItemsinFolder | ft -AutoSize
Underneath Contacts we can see two GUID – That’s LYNC and GAL Contacts
Refer this article to remove LYNC contact entries using PowerShell and EWS
How to Explore all folders?