Continuously entering connection details to cloud systems can quickly become boring. However, if you’re connecting to Azure and from a secure system, then there is an easier way.
Download and install Azure PowerShell from https://azure.microsoft.com/en-gb/documentation/articles/powershell-install-configure.
Use the following PowerShell command to sign in to Azure:
Get-AzurePublishSettingsFile
A web browser will open and ask you to authenticate. One you have it will download a settings file.
Save the settings file to your computer, and use the following command to import the file (substitute accordingly):
Import-AzurePublishSettingsFile mySettings.publishsettings
That should show something like:
Finally, verify you have successfully connected by viewing your Azure subscription:
Get-AzureSubscription
Pingback: Wednesday Tidbit: Administering your Microsoft Azure account in Docker | virtualhobbit