AzureAutomationTeam 

| 1,457,343 downloads | Last Updated: 6/22/2020 | Latest Version: 1.7

This Azure/OMS Automation runbook onboards a local machine as a hybrid worker.This script has been updated to use Az modules. Version 1.6 is using AzureRM modules. NOTE: This script is intended to be run with administrator privileges and on a machine with WMF 5. The major steps of the script are outlined below. 1) Install the necessary modules 2)... More info

| 67,449 downloads | Last Updated: 9/7/2018 | Latest Version: 0.2.4.2

Open the PowerShell console Run Install-Module AzureAutomationAuthoringToolkit -Scope CurrentUser If you want the PowerShell ISE to always automatically load the Azure Automation ISE add-on: Run Install-AzureAutomationIseAddOn If not: Any time you want to use the Azure Automation ISE add-on in the PowerShell ISE, run Import-... More info

| 4,395 downloads | Last Updated: 7/7/2019 | Latest Version: 1.0.1

Use this script to restrict the permissions of your Azure Automation RunAs accounts. You can: - Create a new custom role definition that excludes specified resources. If you use this script as-is, it will exclude Azure Key Vault; however, you can exclude any resource type as required in your organization. - Assign an existing custom role definiti... More info

| 1,586 downloads | Last Updated: 9/13/2016 | Latest Version: 1.03

This Azure/OMS Automation runbook imports the latest version on PowerShell Gallery of all modules in an Automation account. By connecting the runbook to an Automation schedule, you can ensure all modules in your Automation account stay up to date. If a new module to import is specified, it will import that module from the PowerShell Gallery af... More info

| 1,077 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This runbook sets up a connection to an Azure virtual machine. It requires the Azure virtual machine to have the Windows Remote Management service enabled, which is the default. It sets up a connection to the Azure subscription and then imports the certificate used for the Azure VM so remote PowerShell calls can be made to it.

| 528 downloads | Last Updated: 9/12/2018 | Latest Version: 1.1

This script configures Azure Diagnostics and Log Analytics to receive Azure Automation logs containing job status and job streams. The logs will be sent from the specified Automation account to a generated storage account and OMS workspace. This script should run locally (outside of Azure Automation) and requires you to interactively authentica... More info

| 410 downloads | Last Updated: 6/6/2016 | Latest Version: 1.1

Imports a module on PowerShell Gallery into the Azure/OMS Automation service. Requires that authentication to Azure (Resource Manager) is already established before running.

| 390 downloads | Last Updated: 11/22/2016 | Latest Version: 1.0

This runbook exports the Run As certificate from an Azure Automation account to a hybrid worker in that account. Run this runbook in the hybrid worker where you want the certificate installed. This allows the use of the AzureRunAsConnection to authenticate to Azure and manage Azure resources from runbooks running in the hybrid worker.

| 340 downloads | Last Updated: 9/29/2016 | Latest Version: 1.1

Writes "Hello World!" as a sample output

| 312 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This runbook creates a report on Azure Automation jobs and runbook modifications over the past X days. The report can be in HTML or text format and can be sent via email. You may want to set this runbook to run on a recurring schedule (for example, daily).

| 297 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This runbook copies a remote file from a Windows Azure virtual machine. Connect-AzureVM must be imported and published in order for this runbook to work. The Connect-AzureVM runbook sets up the connection to the virtual machine where the remote file is copied from. When using this runbook, be aware that the memory and disk space size of the proc... More info

| 276 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This runbook copies a local file to an Azure virtual machine. Connect-AzureVM must be imported and published in order for this runbook to work. The Connect-AzureVM runbook sets up the connection to the virtual machine where the local file will be copied to. When using this runbook, be aware that the memory and disk space size of the processes ru... More info

| 276 downloads | Last Updated: 7/7/2019 | Latest Version: 1.0.1

If your Azure Automation accounts contain a RunAs account, it will by default have the built-in Contributor role assigned to it. You can use this script to check the role assignments of your Azure Automation RunAs accounts, and determine whether their role assignment is the default one, or whether it has been changed to a different role definitio... More info

| 275 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This runbook indexes all of the tables in a given database if the fragmentation is above a certain percentage. It highlights how to break up calls into smaller chunks, in this case each table in a database, and use checkpoints. This allows the runbook job to resume for the next chunk of work even if the fairshare feature of Azure Automation put... More info

| 257 downloads | Last Updated: 1/20/2016 | Latest Version: 1.0

This Azure Automation runbook ensures that only one instance of a PowerShell runbook is running at any one time. It is meant to be called inline from another runbook at the beginning of the runbook.

| 254 downloads | Last Updated: 10/11/2016 | Latest Version: 1.0

This runbook, when called inline from a parent runbook, will find the job associated with the parent runbook and return the job object. This runbook assumes that the parent runbook has authenticated with Azure.

| 245 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This runbook configures a new or existing Azure Scheduler job that calls an Automation runbook. This enables more advanced scheduling capabilities within Azure Scheduler to be used to trigger runbooks that are not enabled in the current Automation scheduler functionality. The scheduler job that is created is disabled so you can change the schedul... More info

| 237 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This runbook starts an Azure Automation runbook job and either returns the job id or waits for the job to complete and returns the job output.

| 232 downloads | Last Updated: 11/28/2015 | Latest Version: 1.0

This Azure Automation runbook is designed to run on scheduled intervals and resume any monitor runbooks that have a specific tag that are suspended

| 230 downloads | Last Updated: 11/18/2016 | Latest Version: 1.0

This runbook will invoke a PowerShell expression using the PowerShell Invoke-Expression cmdlet. In Azure Automation, this runbook is useful for running a PowerShell command on a hybrid runbook worker.