Azure scripts center

Hello World for Azure Automation

This Azure Automation runbook provides a very simple “Hello World” example of using a runbook.

Using runbook parameters in Azure Automation

This runbook illustrates how to use input parameters in runbooks.

Connect to an Azure Virtual Machine

This runbook sets up a connection to an Azure virtual machine.

How to use a SQL Command in an Azure Automation Runbook

This runbook outputs the number of records specified in a SQL Server database table.

How to use a PS Command on a remote Azure VM from a Runbook

This runbook connects into an Azure virtual machine and runs the specified PowerShell command.

Start Azure Virtual Machine using Azure Automation Runbook

Demonstrates starting all Microsoft Azure Virtual Machine in a specific Azure subscription by starting with the Microsoft Active Directory Domain Controllers. The script could be associated with the new Azure Automation Scheduler to start the Virtual Machines at specific time.

Stop Azure Virtual Machine using Azure Automation Runbook

Demonstrates stopping all Microsoft Azure Virtual Machine in a specific Azure subscription. The script could be associated with the new Azure Automation Scheduler to stop Virtual Machines at specific time. Great for developers for saving on Azure Compute, if they forget to shut.

How to use Automation Assets in a Runbook

This Runbook sample demonstrates the use of global assets in Automation. It shows how to retrieve an existing global variable, connection, certificate and credential.

Copy a File to an Azure VM

This Azure Automation runbook copies a file from the local runbook host to an Azure virtual machine. This runbook is intended to run after a file is copied to the local host so ensure that you have copied the file to the runbook host before calling this.

How to use workflow checkpoints in Azure Automation Runbooks

Demonstrates the use of PowerShell workflow checkpoints in a runbook.

Source: http://azure.microsoft.com/en-us/documentation/scripts/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s