Skip navigation
Check Certificates Installed to Manage Windows Azure from PowerShell

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:\Windows\System32\WindowsPowerShell\v1.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.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish