Category: Azure Runbook
-
Automate the deployment and configuration of Azure Site Recovery for Hyper-V to Azure with PowerShell.
Azure Site Recovery service enables businesses ensure business continuity by keeping their workloads and applications running on Virtual Machines and physical servers available if a site goes down. Site Recovery replicates these workloads running on VMs and physical servers so that they remain available in a secondary location if the primary site isn’t available. It…
-
Automate Azure VM Deployment and Disk Encryption using PowerShell and ARM Templates..
PowerShell helps me better understand the internal workings of complex Cloud based operations that in many instances have a lot of moving parts. Better understanding helps determine ways to automate these operations that could otherwise take much time and repetition to accomplish.I developed the following Deploy-ManagedEncryptedLinuxVM PowerShell function to automate the provisioning, installation of LAMP…
-
PowerShell Function Concurrently Starts up/Shuts down Multiple Azure Resource Manager VMs.
One of the more relevant and cost saving tasks when working in Azure Cloud is fast and efficient shutdown and startup of virtual machines. Some of the options available could be to : a) Iterate through a csv list of VMs or Resource Group of VMs and serially shutdown or startup the VMs. This can…
-
Implement the Azure Invoice API in Azure Automation Runbook.
The new Azure Invoice API enables Azure Subscription users with the appropriate role assignments to download and view current and past Invoices programmatically. Till now, this was only possible via the Azure Management Portal. For Subscription users to be able to download these invoices, the account administrator needs to enable the “Access to Invoice” feature…
-
Automate Azure Resource Group deployment with Azure PowerShell.

I developed the following PowerShell function to automate the creation and removal of Azure Resource Groups based on Azure AD Group membership in a Demo Azure subscription. The script is deployed as a Runbook in an Azure Automation account and scheduled to run once a day. As new users are added to a designated Azure Active Directory security…