Delete certificate from Computer Store
You can use the Cert:
-PSDrive with Get-ChildItem
and Remove-Item
. Ex:
#Delete by thumbprintGet-ChildItem Cert:\LocalMachine\My\D20159B7772E33A6A33E436C938C6FE764367396 | Remove-Item#Delete by subject/serialnumber/issuer/whateverGet-ChildItem Cert:\LocalMachine\My |Where-Object { $_.Subject -match 'Frode F' } |Remove-Item