Created
April 1, 2015 08:08
-
-
Save AliceWaddicor/2f09c682e3457dd7a9ab to your computer and use it in GitHub Desktop.
Generate pfx file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$MyPwd = ConvertTo-SecureString -String "your password here" -Force –AsPlainText | |
$AzureCert = Get-ChildItem -Path Cert:\CurrentUser\My | where {$_.Subject -match "your certificate’s name here”} | |
Export-PfxCertificate -FilePath C:\your certificate’s name here.pfx -Password $MyPwd -Cert $AzureCert |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment