Endjin - Home

PowerShell

Like many other developers I’m sure, I spend quite a bit of time in command line applications (Windows CMD, PowerShell, etc.). Unfortunately, these applications don’t offer a lot in terms of customization. So I use ConEmu – a highly customizable, tabbed console emulator that lets you run any shell you want. This post describes how to setup ConEmu, and how […]


Previously each component in Azure was deployed, managed, billed and monitored separately. Azure Resource Manager (ARM) is a new approach that allows you to declaratively state what a group of Azure infrastructure should look like as a template, then deploy that template in an idempotent way (i.e. you can run it multiple times and it […]


The Problem If you use Git (and GitFlow) with Visual Studio (which seems like it is going to become a much more popular combination), I’m sure you are well aware of the pain that is the “merge conflict” you often encounter when trying to merge (or rebase) a branch. There are three file types that […]


How to retry commands in PowerShell

by Richard Kerslake

Recently while working on a set of scripts to provision some infrastructure in Azure, I needed to be able to retry various commands in case of intermittent failures. With remote infrastructure in particular it is worth considering retry logic, because you never know when you might have trouble reaching it, or internal problems in the […]


Last month I wrote a guest blog post for JetBrains; a detailed step by step guide for creating a custom TeamCity MetaRunner to notify NewRelic that a new deployment has occurred based on a case study I wrote earlier in the year called “From Chaos, Through Fear, To Confidence” which details an ALM and DevOps […]


Any person tasked with looking after a number of Windows Servers knows that Remote Desktop will only scale so far and that at some point you will need to turn to scripting to manage a server estate of any reasonable size. Two years ago I blogged “An Omega Geek’s Guide to Learning PowerShell“, so it […]


One of the great features of using cloud based infrastructure platform is being able to increase or decrease resources (compute / storage / bandwidth) on demand. Last week I wanted to scale up our TeamCity server as our demands on it have increased in the last few months, making the change via the Azure Management […]


A Step by Step Guide to Automating TeamCity Backups

by Howard van Rooijen

Now that you’ve set-up your TeamCity environment, or migrated it from one machine to another, you probably want to make sure that if anything happens to the hardware you’ve installed it on, you can get back up and running quickly. Step 1: Configure Execute-TeamCityBackup.ps1 Execute-TeamCityBackup.ps1 (by Ivan Leonenko) is a great little script for calling the […]


If you’ve been using TeamCity for a number of years, there will come a time where the server it’s running on will reach its end of life and your TeamCity instance will need to be moved to a fresh server. As part of this migration process, you may decide to change OS from Linux to […]


PowerShell Best Kept Secrets: Splatting

by Howard van Rooijen

It’s been over a year since I wrote An Omega Geek’s Guide to Learning PowerShell, and I thought it was about time, with all the recent  noise about scriptcs, that PowerShell should get some more love as it’s a much overlooked and misunderstood gem of the .NET and Windows ecosystem. When I announced in the office that […]