Skip to content

Instantly share code, notes, and snippets.

@pkirch
Created January 19, 2015 07:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkirch/e1b0efe63c598023461b to your computer and use it in GitHub Desktop.
Save pkirch/e1b0efe63c598023461b to your computer and use it in GitHub Desktop.
This sample code shows the usage of Get-AzurePublishSettingsFile and Import-AzurePublishSettingsFile.
Get-AzurePublishSettingsFile
Import-AzurePublishSettingsFile 'C:\Users\pkirch\Downloads\Azure MSDN - pkirchner-11-20-2014-credentials.publishsettings'
<# Output
Id : c6244819-a8d6-4279-b492-4a47f4301c54
Name : Azure MSDN - pkirchner
Environment : AzureCloud
Account : 8BC957EA7D9DA18CCEFB1E3DD820A0ECD43C8060
Properties : {[SupportedModes, AzureServiceManagement]}
#>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment