A pre-req for a particular application deployment is that we need a particular PKI certificate installed in the Windows Trusted Publishers cert store of the PCs before installing.
Is there any way to detect if a particular cert has already been installed? Ideally using a one-liner command or a short script (that could be used for pre-req detection, or as a dependency check in SCCM 2012)?
There seem to be lots of commands and scripts out there for listing all installed certs, or all installed certs expiring soon, but nothing that I can see for identifying if one particular cert is installed.