AzureAutomationTeam 

By: | 953,988 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

By: | 63,395 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

By: | 10,984 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

By: | 1,406 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.

By: | 876 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

By: | 766 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

By: | 673 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

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

Writes "Hello World!" as a sample output

By: | 576 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.

By: | 549 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.

By: | 463 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

By: | 405 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).

By: | 396 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

By: | 378 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

By: | 340 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.

By: | 335 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.

By: | 333 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.

By: | 319 downloads | Last Updated: 7/7/2019 | Latest Version: 1.0.1

This script will add the Reader role to an Automation RunAs Account for the specified Key Vault. If your RunAs account is configured with a custom role assignment, it may not have access to any of your Key Vault instances. This script will add a "Reader" role assignment to your RunAs account for the specified Key Vault. This will allow runbooks ... More info

By: | 314 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

By: | 310 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.