October 31st, 2014

PowerTip: Export Certificate by Using PowerShell

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.