Quantcast
Channel: Microsoft Exchange
Viewing all articles
Browse latest Browse all 20055

I can't delete mailbox contact group using powershell (Exch 2013 / outlook 2016)

$
0
0

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.


Viewing all articles
Browse latest Browse all 20055


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>