Hi All,
I am trying to delete all contacts from a mailbox using powershell:
search-mailbox -identity userABC -searchquery "kind:contacts" -deletecontent
the command is working but it is only deleting the contacts, leaving the groups behind.
I would do this manually but unfortunately I am getting an error trying to delete one of the groups so I am trying to force deletion using powershell.
Environment:
(Exch 2013 / outlook 2016 / Windows10)
Thanks in advance.