title: Retrieve Issuer thumbprint from a certificate using "System.Security.Cryptography.X509Certificates"
body: <p>Is it possible to retrieve a issuer thumbprint from a certificate in a powershell script if I am using "System.Security.Cryptography.X509Certificates" ?</p>
  
  <p>I have this powershell script that get all certs in "my" store on a remote server and than output it to a Format-Table. I would like to be able to know what is the issuer thumbprint withing the same script.</p>
  
  <pre><code>Param(
  
      [parameter(
      Mandatory=$true)]
      [String]$CSVFile
  )
  
  Set-ExecutionPolicy RemoteSigned
  
  $Serveurs = import-csv $CSVFile
  $Nom = $Serveurs.Nom
  
  Foreach ($Serveur in $Serveurs){
          $x509store = new-object System.Security.Cryptography.X509Certificates.X509Store("\\$($Serveur.Nom)\My","LocalMachine")
          $x509store.Open('ReadOnly')
          $x509store.Certificates | Format-Table -Property FriendlyName,NotAfter,Thumbprint,Issuer,Subject
  }
  </code></pre>
  
  <p>Thanks !</p>