Visual Studio Geeks
RSS
  • So... how did it feel recording training for Microsoft?

    Off late I have been working with Microsoft to pull together training on DevOps. The experience of working with the Microsoft products, the staff and the broader ecosystem reflects that the Microsoft of today isn’t the Microsoft we’ve known for years…

    Read More »

  • DevOps: Infrastructure As Code (IaC) with Azure

    Delighted to announce that my free training course on DevOps: Infrastructure As Code with Azure has just released on the Microsoft Open edX platform. The training has hours of video content, theory, labs and certification. It is primarily targeted at operations and development teams but is useful for anyone wanting to learn DevOps and it’s application in Modern Engineering environment with VSTS & Azure Automation. The course has been jointly developed by Avanade & Microsoft… You can check out the course here - DevOpsIacCourse

    Read More »

  • DevOps: GitHook to verify repository email address

    When you are using Git for work and personal repositories although you can logically separate them in separate folders, you can accidentally commit in your personal repository with your work account and visa versa. It is annoying and in some cases might break employer policies as well. Luckily with GitHooks it’s possible to set up a pre-commit hook that allows you to use the correct email address for the correct repository, check the blogpost for how…

    Read More »

  • Get all Azure DTL nested resources programmatically with AzureRm PowerShell

    Since all VMs with in an Azure Dev Test Lab (Azure DTL) are within their own resource group and have some sort of a random numeric postfix attached at the end of the resource group name. There isn’t yet an out of box AzureRm PowerShell commandlet available to query dev test lab resources. I’ve have knocked together a script which you can use to get all resources & their nested resources within an Azure Dev Test Lab using PowerShell…

    Read More »

  • GitHooks with PowerShell on Windows to automate source control operations

    There are a whole host of things one tends to check before committing code into the source control system. It’s a proven fact that addressing technical issues in the product are less expensive the earlier they are identified. Git luckily gives you a bunch of events against your local repository that you can leverage to automate the pre commit checks in your codebase. The average windows user may find it difficult to script the actions using shell script. Luckily you can invoke PowerShell scripts on Windows for your GitHooks. In this blogpost we’ll cover an end to end example…

    Read More »

  • Using GitHooks with Visual Studio Team Services on Windows

    Ryan Hellyer accidentally leaked his Amazon AWS access keys to GitHub and woke up to a $6,000 bill the next morning. Wouldn’t you just expect the source control as clever as git to just stop you from making such a blender?! Well, in case you didn’t know you could put Git Hooks to work to address not just this but many similar scenarios…

    Read More »

  • DevOps: CI to CD with VSTS course now live!

    Delighted to announce that my free training course on DevOps: Continuous Integration to Continuous Deployment with Visual Studio Team Services & Azure has just released on the Microsoft Open edX platform. The training has hours of video content, theory, labs and certification. It is primarily targeted at development teams but is useful for anyone wanting to learn about DevOps and it’s application in Modern Engineering environment with VSTS & Azure. The course has been jointly developed by Avanade & Microsoft… You can check out the course here - DevOpsCiCdCourse

    Read More »

  • Azure Automation - Testing PowerShell Runbooks with Pester using Team Services

    Azure Automation is a hosted, managed Service that allows you to automate application life cycle areas such as server provisioning and server configuration management. Chances are that if you are already using Azure Automation, you have runbooks that help automate the routine operational tasks. In this blogpost I’ll show you how to leverage the integration between Azure Automation & GitHub to version control your runbooks. In addition to this we’ll see how easy it is to create unit tests for your runbooks using Pester and then creating a CI pipeline for your runbooks using Team Services.

    Read More »

  • Azure Automation - Manage AWS EC2 with Azure Automation Pull Server

    In this blog post I’ll show you how to manage the desired state configuration of a server in Amazon cloud using Azure Automation DSC Pull Server… My goal is to hook up the virtual machines I have in AWS cloud to use the Azure Automation DSC Pull server and ensure compliance to the BasicWebServer script which checks compliance for a web server feature on the node machine.

    Read More »

  • Azure Automation - Fix Failing Module Upgrade in Azure Portal

    If your Run Books in Azure Automation rely on any of the new versions of the AzureRM PowerShell module, then they may start to fail! That’s because all the modules that get pre-added in Azure Automation point to an older version of AzureRM modules… Follow the steps in this post to fix failing module upgrade…

    Read More »