Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $pwd = ConvertTo-SecureString -String ‘1234’ -Force -AsPlainText
- $path = 'cert:localMachinemy' + '1E7439053EE57AEE6EA0E1F3CDF5DB4234B6731E'
- Export-PfxCertificate -cert $path -FilePath c:Certificatescert.pfx -Password $pwd
Add Comment
Please, Sign In to add comment