Introduction to Azure Resource Manager Templates for the IT Pro

Conflict between software development teams and IT operations is familiar to many of us. To alleviate the issues, UK Technical Evangelist Marcus Robinson explains how we need to ensure consistency between the DevTest and Production environments. We can do this by creating a template that defines the environment, known as Infrastructure as Code.


PowerShell function to enable WinRM over HTTPS on an Azure Resource Manager VM

You may have seen my previous posts detailing how to enable WinRM over HTTPS on an Azure Resource Manager VM. I have now collated all the different bits of script and creates a single PowerShell function. The function is called Configure-WinRMHTTPS, and is as follows: function Configure-AzureWinRMHTTPS { <# .SYNOPSIS Configure WinRM over HTTPS inside…


Create a Custom Script Extension for an Azure Resource Manager VM using PowerShell

Following on from my previous two posts regarding WinRM over HTTPS the next stage was to automate the steps that needed to be carried out inside the Azure VM. In my original post I had a mix of PowerShell, command prompt and copy and paste! Andy Slowey provided me with the following PowerShell to optimize…


Create a Network Security Group Rule using PowerShell

My last post, http://www.techdiction.com/2016/02/11/configuring-winrm-over-https-to-enable-powershell-remoting/, covered enabling WinRM over HTTPS on an Azure VM. After forwarding the steps to colleagues it was pointed out that some of the steps could be simplified with some PowerShell. My next couple of posts will cover how different parts of my initial process could be automated, starting with creation of the…


Configuring WinRM over HTTPS to enable PowerShell remoting

PowerShell remoting allows machines to be remotely managed using PowerShell. PowerShell remoting is commonly used with virtual machines running on Azure. When we create a classic/service manager VM on Azure it is automatically configured with a WinRM endpoint so that we can connect using PowerShell remoting. However if we create a VM using Resource Manager…


Connecting Azure App Service to VNet using Point to Site VPN using PowerShell

It is possible to connect Azure App Services that are on Standard and Premium plans to a virtual network using a point to site VPN. Unfortunately although it is reasonably straightforward in the portal there isn’t much documentation around on how to do this using PowerShell. In response to a forum post, https://social.msdn.microsoft.com/Forums/en-US/2417fc64-e8d3-4b15-a493-7524f7d4961e/join-a-web-app-to-a-vpn-in-azure-through-powershell-script I created the connection…


Creating a Point to Site VPN connection to an Azure Resource Manager Virtual Network

I have been helping out on the MSDN forums and came across a post where a user was struggling to create a Point to Site (P2S) VPN connection to an Azure Resource Manager (ARM) Virtual Network – https://social.msdn.microsoft.com/Forums/azure/en-US/567b968e-aa50-4ee4-b554-af09c54a40e0/routing-in-azure-between-pointtosite-and-sitetosite-networks?forum=WAVirtualMachinesVirtualNetwork. At the time of writing it is not possible using the portal. I had a look at…


Azure DevTest Labs & First Impressions

I’ve written a couple of blog posts in the past about scheduling Azure VMs to turn off at a certain time of day. I use this functionality to ensure I don’t use all of my MSDN credit while carrying out testing on Azure. Microsoft have recently announced a new solution that will help address this…


First Steps with Microsoft Operations Management Suite

I’ve worked with System Center Operation Manager (SCOM) in the past to manage on premise infrastructure. Microsoft Operations Management Suite (OMS) is a relatively new offering that is focused on monitoring hybrid cloud environments. I like to think of it of a cloud version of SCOM, although it actually enables data from SCOM to be sucked into it for additional analysis…