PowerTip: Export Certificate by Using PowerShell

The Scripting Guys

Dr

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

The Scripting Guys
Dr Scripto

Follow Dr   

No Comments.