Export / import local machine certificate using powershell
-
17. února 2012 16:03I need to know how i can export a certificate from the local machine or "MY" store and then import it back later using powershell. I
Všechny reakce
-
17. února 2012 16:09
I had a look in the script repository for you and found this:
http://gallery.technet.microsoft.com/scriptcenter/Certification-File-Manager-be4a6848
This script by Michal Gajda seems to do what you need and more
- Označen jako odpověď IamMredMicrosoft Employee, Owner 20. února 2012 5:26
-
17. února 2012 16:14
I need to know how i can export a certificate from the local machine or "MY" store and then import it back later using powershell. I
cd cert:
11:11 PS>dir currentuser\my
Directory: Microsoft.PowerShell.Security\Certificate::currentuser\my
Thumbprint Subject
invoke-item item cert:\CurrentUser\my\4E149FBDAFD94569257641F0BC73397D40019F07
HELP certificate
You can use certmgr at the commandline to export an import certificate.
¯\_(ツ)_/¯
- Navržen jako odpověď BigteddyMicrosoft Community Contributor 17. února 2012 16:24
- Označen jako odpověď IamMredMicrosoft Employee, Owner 20. února 2012 5:26