Guest User

Untitled

a guest
Feb 21st, 2018
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. $pwd = ConvertTo-SecureString -String ‘1234’ -Force -AsPlainText
  2. $path = 'cert:localMachinemy' + '1E7439053EE57AEE6EA0E1F3CDF5DB4234B6731E'
  3. Export-PfxCertificate -cert $path -FilePath c:Certificatescert.pfx -Password $pwd
Add Comment
Please, Sign In to add comment