I am having difficulty getting powershell to delete a certificate that was accidentally installed to all our Windows 7 machines to the Computer Store.
As an example I have included a screen shot of where the certificate is installed (this is not the actual certificate). We have a few hundred machines so we would like to do this as automatic as possible.
If someone could provide a way to delete the certificate by Serial Number or Thumbprint that would be great.
You can use the
Cert:
-PSDrive withGet-ChildItem
andRemove-Item
. Ex: