PowerTip: Export Certificate by Using PowerShell

Doctor 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

Discussion is closed.

Feedback usabilla icon