TFS 2017 copy build definition template between team projects

Over a year ago I’ve presented a solution to copy build definitions between team projects in new Team Foundation Server 2015. That was a workaround for missing functionality in TFS, so there was no standard way to save the build definition as a template and reuse it outside the scope of current team project. Well, in TFS 2017 it hasn’t change yet… There is still no way to reuse…

By Mirek on (tags: build definition, Powershell, tfs, vNext, VSO, categories: tools, infrastructure)

TFS 2015 – MSBuild in custom step

If you didn’t yet happen to create a custom build step for Team Foundation Server 2015 take a look at my previous posts here and here. Today I will show you the right (IMHO) way of calling MSBuild from the custom build step. I had a task to create a custom build step which took the list of projects names and has to publish a ClickOnce installers for them. It first searches for …

By Mirek on (tags: build, ci, msbuild, Powershell, tfs, categories: tools, infrastructure)

TFS 2015 build vNext – Upload directory to FTP

In previous post I showed you how to create a custom build step, upload and use it in the Team Foundation Server 2015. This time we will try to create more complex build task. This will be FTP uploader. Keep reading. There is already a step which gives you the possibility to upload files to FTP location and it comes out of the box with TFS 2015. This is called cURL and you can …

By Mirek on (tags: build, ftp, Powershell, tfs, categories: tools, infrastructure)

Start learning Powershell

If you are not yet familiar with the Powershell I can honestly recommend you to start learning it. This is a great tool with almost unlimited capabilities. Powershell scripting can change basically any arduous and burdensome activities into a one click task. Anything you can manually do on the windows system  or windows based software can be automated. And if there isn’t a…

By Mirek on (tags: Powershell, categories: tools)

Remote Powershell on Azure virtual machine over internet

In this post I will show you a step by step guide to enable Powershell remoting functionality on the virtual machine running Windows Server 2012R2. Then I will show you how to start a powershell session from a machine over the internet using a secure connection. So the goal is to manage an Azure virtual machine with powershell remoting on a virtual machine. Since the virtual ma…

By Mirek on (tags: azure, Powershell, categories: azure, tools, security)