1 2 3 4 5 |
#Imports certificates and private keys from a Personal Information Exchange (PFX) file to the destination store Import-PfxCertificate .\cert.pfx -CertStoreLocation "Cert:\CurrentUser\My" -Password $Password #Decrypts content that has been encrypted by using the Cryptographic Message Syntax format Unprotect-CmsMessage -Path secret.txt |