Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created June 30, 2020 11:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjoerntx/aa06c8a394bfdae1a7ba8886c32959dd to your computer and use it in GitHub Desktop.
Save bjoerntx/aa06c8a394bfdae1a7ba8886c32959dd to your computer and use it in GitHub Desktop.
$password = ConvertTo-SecureString -String yourpassword -Force -AsPlainText
Export-PfxCertificate -cert "Cert:\CurrentUser\My\6BA35B742656FB2EC48B09116ABAE5123082F116" -FilePath textcontrolself.pfx -Password $password
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment