Pinned Repositories
automation-packs
Collections of Automation resources that can include runbooks, configurations, modules, credentials, schedules, variables, connections, certificates, jobs, compilation jobs, and nodes.
azure-automation-ise-addon
The Azure Automation PowerShell ISE Add-On makes it easy to author and test your runbooks in your local PowerShell ISE
azure-sql-database-scale-using-scheduled-autoscaling
Vertically scale an Azure SQL Database up or down according to a schedule using Azure Automation.
azure_automation_utility
Contains a python package to make it easier to author Python within Azure Automation
graphical-runbook-tools
python_emulated_assets
This python module enables the development and testing of Azure Automation python runbooks in an offline experience using the built in Automation assets (variables, credentials, connections, certificates)
runbooks
Sample Automation runbooks
start-azure-v2-vms
This Graphical PowerShell runbook connects to Azure using an Automation Run As account and starts all V2 VMs in an Azure subscription or in a resource group or a single named V2 VM. You can attach a recurring schedule to this runbook to run it at a specific time. The asso
stopstartazurevm--scheduled-vm-shutdownstartup-
This PowerShell Workflow runbook connects to Azure using an Automation Credential and Starts/Stops a VM/a list of VMs/All VMs in a Subscription in-parallel.
vststasks
Visual Studio Team Services tasks for integrating with Azure Automation
Azure Automation's Repositories
azureautomation/runbooks
Sample Automation runbooks
azureautomation/start-azure-v2-vms
This Graphical PowerShell runbook connects to Azure using an Automation Run As account and starts all V2 VMs in an Azure subscription or in a resource group or a single named V2 VM. You can attach a recurring schedule to this runbook to run it at a specific time. The asso
azureautomation/identify-automation-runasaccount-runbooks
A runbook to find all the runbooks in a given automation account which are using run as account. This runbook can be run inside an automation account as a runbook job. It requires subscription id, resource group name, and automation account name as input parameters. It uses automation account's system identity.
azureautomation/Migrate-from-Azure-Automation-Update-Management-to-Azure-Update-Manager
This Powershell script is designed to migrate machines and schedules onboarded to the legacy Azure Automation Update Management solution to the latest Azure Update Manager.
azureautomation/Preqrequisite-for-Migration-from-Azure-Automation-Update-Management-to-Azure-Update-Manager
This Powershell script is designed to carry out the prerequisites required for migration of machines and update schedules from Azure Automation Update Management to Azure Update Manager.
azureautomation/update-management-turn-off-vms
This is an example script for Update Management pre/post actions. It stops VMs which were started to install updates. It must be used in conjunction with UpdateManagement-TurnOnVMs. It requires the module "ThreadJobs"
azureautomation/update-management-turn-on-vms
This is an example script for Update Management pre/post actions. It requires the ThreadJobs module. starts VMs which aren't currently running to install updates. It can be used in conjunction with UpdateManagement-TurnOffVMs to turn off the machines which were started.
azureautomation/Deboard-from-Azure-Automation-Update-Management
This Powershell script is designed to remove updates solution from their log analytics workspace linked to the automation account and disables update schedules.
azureautomation/stop--start-all-or-only-tagged-azure-vms-in-parallel
This PowerShell Workflow Runbook connects to Azure using an Automation Run As account, retrieves the power status of Azure VMs and turns off / on in parallel those that are turned on / off. You can attach a recurring schedule to this runbook to run it at a specific time.
azureautomation/suspend_resume_pbiembedded-by-single-resource
This script suspends/Resume the PowerBI Embedded Capacity in Azure by a given PBE resource name.Pre-Requisites Install AzureRM.PowerBIEmbedded moduleYou have to create your automation account as Run As Account feature, sine this script uses AzureRunAsConnection for authentic
azureautomation/update-management-run-script-locally
This script is intended to be run as a part of Update Management Pre/Post scripts. This script will run an Azure Automation runbook via a hybrid worker, allowing for local execution of a script. It requires a System Managed Identity and a hybrid worker configured on the machine.
azureautomation/update-management-run-script-with-run-command
This script is intended to be run as a part of Update Management Pre/Post scripts.It will run a script locally on an Azure VM using the Run Command functionality. It requires the module "ThreadJob" from the PowerShell Gallery.
azureautomation/backup-azure-api-management-automation-script
This Azure Automation runbook automates Azure API Management backup to Blob storage and deletes old backups from blob storage. This is a PowerShell runbook, as opposed to a PowerShell Workflow runbook.
azureautomation/get-status-of-azure-v2-vm
This Graphical PowerShell runbook gets the PowerState status of a V2 VM. The runbook returns either 'running' or 'stopped'. You can run this runbook by itself or use it as part of another runbook.
azureautomation/hornbill-intune-mobile-asset-import-azure-automation-powershell-runbook
This is an Azure Automation Powershell Runbook which will retrieve mobile assets from Intune, and import them into your Hornbill instance CMDB.
azureautomation/List-Deleted-Runbooks
List all deleted runbooks within 30 days for restore under special automation account
azureautomation/Migrate-automation-account-assets-from-one-region-to-another-PwshWorkflow
azureautomation/newstorageaccount-child-runbook
This runbook creates a new storage account and outputs the name of the storage account It checks the name of the storage account and restricts it to 24 characters. The Name parameter is to be seen as the project name in this instance. Outputs the storage account name Ca
azureautomation/Post-Migration-from-Azure-Automation-Update-Management-to-Azure-Update-Manager-Preqrequisite-Cleanup
azureautomation/Restore-Runbook
azureautomation/retrieve-properties-of-an-existing-key-vault
This runbook shows how to retrieve the properties of an existing Key Vault. It requires an Azure Run As account and additional modules, see the PREREQUISITE sections in the runbook for details. The runbook will use the Run As account to authenticate against Key Vault. The Run As
azureautomation/scale-down-virtual-machine-scale-set-instances
This Azure Automation runbook will scale down Virtual Machine Scale Set instances. This is intended to run only in Azure Automation service. An Azure Automation account with the "Run as" feature is required.
azureautomation/scale-up-virtual-machine-scale-set-instances
This Azure Automation runbook will scale down Virtual Machine Scale Set instances. This is intended to run only in Azure Automation service. An Azure Automation account with the "Run as" feature is required.
azureautomation/send-mail-office-365
This Graphical PowerShell runbook connects to Office 365 and sends an email. You can run this runbook by itself or call it from another runbook as part of a larger workflow.
azureautomation/shutdownstart-vms--asm-and-arm--by-resource-group
This script shutdowns/starts VMs (both ASM and ARM) by a given resource group name in sequence.You have to create a run as account with the name AzureRunAsConnection in order to access your account. You can create it automatically when you create your automation account.You
azureautomation/stop--start-all-or-only-tagged-azure-vms
This PowerShell Runbook (compatible with PowerShell Core) connects to Azure using an Automation Run As account, retrieves the power status of VMs and turns off / on in sequence those that are turned on / off. You can attach a recurring schedule to this runbook to run it at a spec
azureautomation/stop-azure-v2-vms
This Graphical PowerShell runbook connects to Azure using an Automation Run As account and stops all V2 VMs in an Azure subscription or in a resource group or a single named V2 VM. You can attach a recurring schedule to this runbook to run it at a specific time.
azureautomation/stopstartvmss-vm-scalesets-
This PowerShell Workflow runbook connects to Azure using an Automation Run As account and Starts/Stops all VMScalesets (VMSS) in a resource group in-parallel. You can attach a recurring schedule to this runbook to run it at a specific time.
azureautomation/update-management-template-for-prepost-scripts
This is a template script for Update Management pre/post actions. It contains a basic list of common tasks and can be used to write your own scripts.
azureautomation/vertically-scale-up-an-azure-resource-manager-vm-with-azure-automation
This Azure Automation runbook can help you vertically scale up an Azure Resource Manager VM. This runbook can run from an Azure alert or by itself. This is intended to run only in Azure Automation service. An Azure Automation account with the "Run as" feature is required.