I found this command that exports the certificates from computer personal store into text file. It is exactly what I need except is there is a way to query the remote servers to get the same info from computer personal store for the cert?
HEre is the command line that I need to work with remote computer:
certutil -store -v my > export.txt
WHen I run this command specifying the remote server I get this error:
certutil –store –v my –dc servername01 > >\output.txt
CertUtil: -store command FAILED: 0x80090011 (-2146893807)
CertUtil: Object was not found.
To display the certificates in the Local Machine certificate store:
CERTUTIL -store [-f] [-enterprise] [-user] [-gmt] [-seconds] [-silent] [-v] [-dc dc_name] certificate_store_name [certificate_id [output_file]]