Check Certificates Installed to Manage Windows Azure from PowerShell

Check that you have the right certificates installed for managing Windows Azure with PowerShell. John Savill shows you how!

John Savill

January 12, 2013

1 Min Read
Check Certificates Installed to Manage Windows Azure from PowerShell

Q: How can I check if I have the certificates installed to manage Windows Azure from Windows PowerShell?

A: If you used the Windows Azure easy-publish method to configure your environment for Windows PowerShell management of Windows Azure, everything should be ready for use.

However, if you want to check if you have the right certificates installed to manage your Windows Azure subscription using PowerShell, then run the this cmdlet

Get-AzureSubscription 

which shows the details of your configuration for Windows Azure. The third item displayed in the output will be the certificate used, so ensure this item is populated, showing you have the certificate installed and available. Here is the output from when I entered it on my system:

PS C:WindowsSystem32WindowsPowerShellv1.0> Get-AzureSubscription


SubscriptionName        : Windows Azure MSDN - Visual Studio Ultimate
SubscriptionId          : 46XXXXXXXXXXXXXXXXXXXXXXXXXXf8
Certificate             : [Subject]
                            CN=Windows Azure Tools
                         
                          [Issuer]
                            CN=Windows Azure Tools
                         
                          [Serial Number]
                            751XXXXXXXXXXXXXXXXXXXXXXXXX43
                         
                          [Not Before]
                            11/13/2012 11:29:27 AM
                         
                          [Not After]
                            11/13/2013 11:29:27 AM
                         
                          [Thumbprint]
                            245XXXXXXXXXXXXXXXXXXXXXXXXX1C
                         
ServiceEndpoint         : https://management.core.windows.net/
SqlAzureServiceEndpoint :
CurrentStorageAccount   : savilltechstorage
IsDefault               : True

You might also be interested in "Getting Started with Windows Server VMs on Windows Azure IaaS." If you need to brush-up on your PowerShell, see "Essential Windows PowerShell Commands."

Find more FAQs at John Savill's page.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like