domgreen

The Geek Will Inherit the Earth

  • Calling the Correct Version of PowerShell from Startup Tasks

    • 9 May 2011
    • 0 Responses
    •  views
    • PowerShell Windows Azure osFamily startup task
    • Edit
    • Delete
    • Tags
    • Autopost

    During the deployment of the startup tasks used to create Event Logs in a previous post I noticed a number of errors with the roles deploying into a busy loop and never successfully deploying when trying to execute these tasks.

    This turned out to be a problem with the version of PowerShell running in the Windows Azure operating system that you are trying to boot and can be solved by specifically setting the osFamily within the Service Configuration file to family 2. This then ensures that the image used is made from Windows Server 2008 R2 and has full support for PowerShell version 2 allowing unrestricted execution without changing registry settings (as would be needed if using osFamily = “1”).

    The below snippet has been used to force the OS to the correct version needed for our scripts: 

    • Tweet
  • NxtGenUG Oxford – January 2010

    • 23 Nov 2009
    • 0 Responses
    •  views
    • Azure Cloud Computing Events NxtGenUG PowerShell
    • Edit
    • Delete
    • Tags
    • Autopost

    Media_httpdomgreencom_sjngz
    The guys over at NxtGenUG Oxford have invited me along on the 5th of January 2010 to give a talk on Windows Azure and to share what I have learned over the past couple of months whilst developing on the platform.

    Along with my talk, Ben Nunney will be giving a presentation on Powershell for developers. Showing how developers can make PowerShell work for them, whilst proving that the command line is still cool.

    Here is a breakdown of the event with overviews of each talk:

    Cloud Coffee – Dominic Green

    Cloud Coffee is the latest in a wide range of coffee shops on the high-street. What makes Cloud Coffee different is that they use latest “cloud” principles, keeping costs low by using utility based staffing, maintaining a decoupled working environment and ensuring good scalability to meet customer demand. Cloud Coffee has very quickly risen to high street fame.
    This analogy will help you understand how things work in the cloud, specifically Windows Azure. During this talk Dominic will elaborate and expand upon on the concept of ‘Cloud Coffee’, sharing some of the lessons he learned whilst developing one of the first production applications for the Windows Azure Platform.

    The Power of PowerShell – Ben Nunney

    It's a long time since DOS ruled the world, and the classic command shell was in serious need of an upgrade. Enter PowerShell - focusing on accuracy, extensibility, and congruent syntax, it is one of the most powerful and misunderstood things to come out of Microsoft in recent years. Who says a command shell can’t be interesting? By the time the session is over you’ll have seen what PowerShell can do for you as a developer, know exactly how to get there, and who knows - you may have even fallen in love with the command line all over again.

    You can find out more information and register for the event here.

    • Tweet
  • About

    By day a virtual warrior, hunched over a keyboard cranking out line after line of code at Huddle, living the East London tech dream at Silicon Roundabout. We are an Enterprise collaboration tool that will revolutionise how your company collaborates, shares and operates, we are taking the fight to Microsoft SharePoint, we are David and we're taking on Goliath.

    However, by night this pasty geek escapes his keyboard and monitor with the attempt to get fit. I train at one of the greatest gyms in London, Thames CrossFit. CrossFit is not like other gyms its a lifestyle, and as the guys at Thames say you must be prepared to work hard.

    I also run with the great Run Dem Crew a Shoreditch based running family who run the mean streets of London by night. RDC is a mecca for runners, and creatives alike.

    With all this training its bound to get hard, its bound to be tough but its certainly worth it when you achieve something great and make friends along the way.

    So remember, "Pain is temporary but victory is forever".

    75680 Views
  • Archive

    • 2011 (13)
      • June (2)
      • May (5)
      • April (6)
    • 2010 (3)
      • April (1)
      • January (2)

    Get Updates

    Subscribe via RSS
    TwitterBuzz