Created
February 3, 2015 14:27
-
-
Save stuartpreston/bd4c06d1712b7890ff7f to your computer and use it in GitHub Desktop.
[Powershell] Retrieve certificate and store as .pfx from Microsoft Azure .publishsettings file
This file contains 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
(Select-Xml -Path .\downloaded.publishsettings -XPath '//PublishData/PublishProfile/Subscription[@Name="YOURSUBSCRIPTIONNAME"]/@ManagementCertificate').Node.Value.ToString() | Out-File .\mgmtcert.pfx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment