PowerTip: Use PowerShell to Import Certificate

Doctor Scripto

Summary: Use Windows PowerShell to import a certificate.

Hey, Scripting Guy! Question How can I use Windows PowerShell to automate the installation of a certificate?

Hey, Scripting Guy! Answer Use the Import-Certificate cmdlet, and specify the certificate store location and the path to
           the certificate file, for example:

Import-Certificate –filepath c:\fso\mycert.cert –certStorelocation cert:\currentuser\my

0 comments

Discussion is closed.

Feedback usabilla icon