Interactive Azure VHD operations w/PowerShell

In my previous article we talked about how to deploy Azure VM from existing VHD file/blob. Today we will automate all VHD related operations (Copy/Move/Rename/Delete) with PowerShell. And we will make this process fully interactive – menu driven with no mandatory parameters at all! Az-Module All you need is Azure Automation Az-Module. We will utilize … Continue reading Interactive Azure VHD operations w/PowerShell

Deploy Azure VM w/PowerShell and Az-Module

As I promised in my previous article, today we’ll write PowerShell script to deploy VM in the Microsoft Azure cloud. Before you begin The script utilizes several functions from my Azure Automation Az-Module. The Az-Module contains auxiliary functions for the Microsoft AzureRm Module, you will need it too. Every time you run the script it … Continue reading Deploy Azure VM w/PowerShell and Az-Module

Azure Automation: Increase Azure IaaS VM disks w/PowerShell

Several months ago I have written two functions Get-AzVmDisk and New-AzVmDisk that are intended to retrieve disk info and create new data disks for Azure VM(s). Today to close the topic, we will talk about how to increase existing OS and Data disks. It will be Expand-AzVmDisk function. Expand-AzVmDisk The Expand-AzVmDisk function from my Azure … Continue reading Azure Automation: Increase Azure IaaS VM disks w/PowerShell