Windows Azure : Connect to Windows Azure via PowerShell




  • Open Powershell Azure program
  • On the right hand side “Commands window” select “Azure”


  • Execute  command ” Get-AzureAccount” on powershell window. This will show no output.
  • Import certificate to connect to  windows azure account from powershell. Using certificate based approach , you do not have to enter your credential on each powershell session.
  • Execute a command “Get-AzurePublishSettingsFile”.  This command will open browser and  “*datestamp*.pubsettings” file will be downloaded.
  • Execute command “Import-AzurePublishSettingsFile  <your downloaded file path”
  • Execute  command ” Get-AzureAccount” on powershell window. This will now show you account information.

Windows Azure : Set up power-shell for Azure

Needless to say PowerShell is very powerful and if you are administrating Windows Azure services than PowerShell is the way to go.

To use PowerShell for for windows azure administration and management you have install and set-up powershell first.

Steps to install powershell on your local computer

  1. Open Link Download PowerShell for Azure
  2. An executable file will be downloaded.
  3. Click on the file to install Powershell for azure
  4. Once installation is complete , Go to All Programs >Run > Azure powershell
  5. Click Azure power shell program
  6. Now you can see additional option for Azure . See image belowazure
  7. Click on the link  for more detailed information 

AngularJS tips and tricks – broadcast online and offline status

Mr. D:

AngularJS tips and tricks – broadcast online and offline status

Originally posted on Terkildsen's Blog:

In continuing my experiments with AngularJS, I often stumble upon new challenges, I haven’t met before. One of these challenges was to broadcast the online and offline status of the browser.

I wanted to be able to hide different parts of the gui, if the user wasn’t online. In order to do that, I had to create a centralized variable, that would notify the gui whenever changes occurred. I did this by applying the following code in my app:

As you can see, the function adds an event listener that will automatically update the $ variable. Now, I can just use this variable in my HTML – like so:

Works like a charm :-)

View original