I Am trying to remove an AD contact by filtering.
this is what I have but it is not working
Powershell
Remove-MailContact-Filter"Alias -like 'Delete*'"-Confirm:$false
Can i use get-mailcontact then pipe that into remove-mailcontact? or remove-mailcontact with an identity that uses get mail contact?
This is how Ive been using get-mailcontact
Powershell
get-mailcontact-Filter"Alias -like '*Sar*'"|Selectname