Invoke Azure Automation jobs using PowerShell

We can use PowerShell cmdlet Get-AzureRmAutomationRunbook to get runbooks associated with an automation account:

$resourceGroupName = "enggdevsoutheastasia"
$automationAccountName = "AzureAutomation"
$runbookName = "start-azurevms"
Get-AzureRmAutomationRunbook -automationAccountName $automationAccountName `
 -resourceGroupName $resourceGroupName

Similarly, we can use cmdlet Start-AzureRmAutomationRunbookRead More »

An overview on Azure DNS

Microsoft has announced general availability for Azure DNS service in all public regions on Monday September 26, 2016. With this announcement, Azure DNS can now be used for production workloads. It is supported via Azure Support, and is backed by a 99.99% availability SLA.

As with other Azure services, Azure DNS offers usage-based billing with no up-front or termination fees. Azure DNS pricing is based on the number of hosted DNS zones and the number of DNS queries received (in millions).Read More »

Using Azure Automation to stop/start virtual machines

Today, we’ll see how we can leverage Azure Automation to stop/start virtual machines in Azure. We’ll begin with how to start virtual machine first and same steps can be applied to stop virtual machines. You’ll only need to change few commands in the runbook associated.

Login into Azure Resource Manager with your credentials. Click on Azure Automation account and then click on the runbooks section highlightedRead More »

Getting Started With Azure Automation

What is Azure Automation?

As its almost clear from name, Azure Automation provides a way for users to automate the manual, long-running tasks in the Azure environment. It saves time, humane errors and increases the reliability of day to day administrative tasks in Azure. It is also possible to schedule these automated processes to run at specific intervals.

You can automate processes using runbooks or automate configuration management using Desired State Configuration Read More »

Get Azure virtual machine extensions

Azure virtual machines have a variety of built-in extensions that can enable configuration management. There are two extensions for Windows PowerShell. The custom script extension allows you to run a script on a virtual machine at provisioning time or after it is running. The Windows PowerShell DSC Extension allows you to define the state of a virtual machine using the PowerShell Desired State Configuration language and apply it. There are also extensions that allow you to configure your virtual machines to use open source configuration management utilities such as Chef or PuppetRead More »