Category: Technical Knowledge Base

Just another User's blog Site

Configure Expressroute and Site to Site in a co-existence setup using existing Gateway Subnet and Virtual Network in the same subscription

Overview This document outlines the proposed steps to take to configure a connection from the Expressroute circuit to existing virtual network in the hub subscription. Limits and limitations Only route-based VPN gateway is supported. You must use a route-based VPN gateway. You also can use a route-based VPN gateway with a VPN connection configured for ‘policy-based traffic…
Read more

PowerShell script to list all the extensions for a specific Azure ARM virtual machine

We have been looking for a script which will help us enumerate and list all the extensions for Azure ARM virtual machines and their properties, e.g. Name, Tags assigned, ProvisioningState, etc. and were almost giving up when this thought came upon to write a small one on our own.   sharing here before things get lost.…
Read more

Schedule start or shutdown Azure virtual machine using Azure Automation PowerShell Workflow and Tags

This is an Azure Automation Powershell Workflow based runbook which automates the scheduled startup and/or shutdown of virtual machines (ARM) in Azure subscription based on the Tags defined. Script logic:  The runbook implements a solution for scheduled power management of Azure virtual machines in combination with tags on virtual machines or resource groups which define…
Read more

Reverse Proxy Configuration in Windows Server 2012 with IIS 8.0 and ARR 3.0

Prerequisites The following pre-requisites must be met before performing the below steps. The backend service must already be in place and fully configured to be exposed via either HTTP or HTTPS. Firewall rules need to be in place to allow traffic to the reverse proxy and from the reverse proxy to internal server and vice…
Read more

PowerShell Script to Generate the Virtual Machine Inventory Hosted in Azure ARM

Overview This is a PowerShell script to create reports for all Virtual machines in a subscription including its Resource Group / Virtual Network /IP/NIC/Data disk/Storage/Tags to readable .csv format to help you to identify the deviation and make them standard. The following guide assumes that the user has basic knowledge of using Windows and PowerShell.…
Read more

Step by Step Guide to Prepare a Windows Server 2003 R2 Custom VHD for Azure

This is a hot topic after we started to work in a Data Centre migration project for a client where we chose to do a Lift-and-Shift approach to migrate their on premise physical / virtual servers to Azure.   Their key ask was to have their existing Windows 2003 servers running in Azure as they…
Read more

Custom VHD Creation using Disk2VHD tool for P2C migration to Microsoft Azure

This is a step by step guide on how to use Disk2VHD tool (downloaded from internet) to perform a Physical to Cloud or Virtual to Cloud migration.  We used this mechanism to migrate the eCommerce servers from their on premise Data Center to Azure and completed the migration of 40+ servers in short time frame.  We…
Read more

Restore Virtual Machine from Blob Snapshot in Azure (Resource Manager)

Overview Script will help you to restore a virtual machine from the existing blob snapshots. Although some familiarity with the Azure Portal would be beneficial, however, for the benefit of everyone, a step by step guide in this document is provided. Script workflow: Script executes Reads the input file which is a comma separated .CSV…
Read more

Azure VM deletion using the PowerShell script

Often you might receive a request to Delete multiple VMs from Azure. its little cumbersome to delete VM and its components from portal. Automation minimize the time and avoid human errors. This could cover the below scenarios: Delete VM, its associated NICs and disks. The following guide assumes that the user has basic knowledge of…
Read more

Azure ARM Blob Snapshot – Azure Automation

We have had some tough time backing up virtual machines based out of customized VHD and running OS prior to Windows Server 2008 R2 SP1, The reason being, Azure Virtual Machine Guest agent does is not supported in any of these OS, i.e. Windows Server 2003 R2, Windows XP, etc. (You might wonder is it…
Read more