Author: ksanks

Just another User's blog Site

Healthy eating….

After the start of COVID-19 related lockdown measures, been forced to work from home till it is fully safe to get back to normal routine As a good way to relax or de-stress started to cook at home some simple meal which can be enjoyed with less effort or stress to remember complex receipe which…
Read more

Back again in 2020…

After a very long break not writing or posting anything in my blog site, i am planning to start again in 2020. 2019 was really a test in my life which has seen me struggle through almost everything, even the simplest requests or actions which takes long time to get some results. Hopefully I will…
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