PowerTip: Export Certificate by Using PowerShell

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to export a certificate.

Hey, Scripting Guy! Question How can I use Windows PowerShell to export a certificate?

Hey, Scripting Guy! Answer Use the Export-Certificate cmdlet and specify the file output destination. By default it will export a file
           of the type CertHere is an example:

Export-Certificate -Cert (Get-Item Cert:\CurrentUser\My\3EF2) -FilePath c:\fso\mycert.cert

0 comments

Comments are closed. Login to edit/delete your existing comments