I am trying to automate creating of self-signed certificates, and thus creating a script in PowerShell and using New-SelfSignedCertificate to create the certificates.
Successful creation of a new certificate creates a new thumbprint. I am wanting to grab that thumbprint programmably and put it in a variable to use later.
How do I do that?