I understand that this is an old branch, but since I look at the same thing, now I decided to write. I need to remove certificates from all stores by friendly name.
Understand that this is not an answer for the OP, but may help someone.
If required by someone, this works for me dir cert: -Recurse | Where-Object { $_.FriendlyName -like "*SOMENAME*" } | Remove-Item dir cert: -Recurse | Where-Object { $_.FriendlyName -like "*SOMENAME*" } | Remove-Item
source share