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/automation-packs
Collections of Automation resources that can include runbooks, configurations, modules, credentials, schedules, variables, connections, certificates, jobs, compilation jobs, and nodes.
azureautomation/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)
azureautomation/azure-sql-database-scale-using-scheduled-autoscaling
Vertically scale an Azure SQL Database up or down according to a schedule using Azure Automation.
azureautomation/Create-Automation-Linux-HybridWorker
This runbook aids users in Creating Linux User Hybrid workers. This script must be executed on a Run As Enabled Automation Account only.
azureautomation/list-all-expiring-soon-certificates-in-azure-application-gateway
Did you ever had developers or engineers coming to your desk in panic realizing their Azure Application Gateway' certificates expired without them knowing it in advance. Causing them downtime in their release pipeline, dev or worst, their production environment!
azureautomation/scheduled-virtual-machine-shutdownstartup
Automates the scheduled startup and shutdown of Azure virtual machines. Schedules are implemented by tagging VMs or resource groups with individual simple schedules. Schedules can define multiple time periods for shutdown, including time ranges and days of week or dates.
azureautomation/Stop-Azure-VM-On-Alert
azureautomation/Create-Automation-Windows-HybridWorker
This runbook aids users in Creating Windows User Hybrid workers. This script must be executed on a Run As Enabled Automation Account only.
azureautomation/Delete-Azure-VM-On-Alert
azureautomation/indexes-tables-in-an-azure-database-if-they-have-a-high-fragmentation
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.Please read the runbook for additional information.
azureautomation/Restart-Azure-VM-On-Alert
azureautomation/ScaleDown-Azure-VM-On-Alert
azureautomation/ScaleUp-Azure-VM-On-Alert
azureautomation/start-azure-vms-in-order-or-stop-in-reverse-order
Start Azure VMs in order or stop them in reverse order. The script requires two parameters: action and JSONConfigFile. The action is start, stop, or test. The JSONConfigFile is the URL link to the JSON configuration file.
azureautomation/allows-only-one-instance-of-a-runbook-job-to-run-at-any-one-time
This runbook ensures that only one instance of a runbook is running at any one time. It is meant to be called from another runbook as an inline runbook, not started asynchronously through the web service. Please look at the Set-RunbookLockSample runbook for example usage.
azureautomation/authenticate-to-azure-using-azure-runas-account
This Graphical PowerShell runbook authenticates to Azure using the built in Azure RunAs account. It is useful when called from parent runbooks that want to easily authenticate against Azure before calling Azure activities.
azureautomation/auto-resize-azure-vms-by-using-tags
This script rescales your Azure VMs using the tags specified on the VMs. The script has 3 parameters - RGEXCEPTIONS,VMEXCEPTIONS,SCALEUP. VMs should have 2 tags - 'ScaleupSize' and 'ScaledownSize'. The script uses default connection asset 'AzureRunAsConnection'.
azureautomation/check-all-resources-in-a-resource-group-for-a-configured-alert-rule-with-ps
Checks all Azure Resources in a given Azure Resource Group for the presence of a configured Alert Rule and reports the status for each Resource. This script does not check for multiple Alert Rules, simply the presence of 1 or none as that was the request given to me. Could be e
azureautomation/disable-expired-accounts-in-active-directory
This script is a simple solution for disabling accounts that are expired in the Active Directory. The script was developed to block sign in for accounts synchonized to Azure Active Directory (Microsoft Office 365) that use Password Hash Synchronization. Microsoft currently allow
azureautomation/disableomsmonitoring-script-to-remove-oms-agent-to-disable-oms-monitoring
Disable-OMSMonitoring - script to remove OMS agent to disable OMS monitoring..SYNOPSIS - This script remove OMS agent to disable OMS monitoring. .DESCRIPTION - The script remove Oms agent on selected VM .INPUTS $VMResourceGroupName - The name of Resource
azureautomation/disables-or-enables-all-alert-rules-in-a-given-azure-resource-group
This script gets all the rules in a given Azure Resource Group and either Disables them or Enables them depending on the presence of the Enable switch parameter. Default action (no -Enable) is to disable all the rules. Rules that are currently already disabled will stay disabled
azureautomation/enableomsmonitoring-script-to-install-oms-agent-to-enable-oms-monitoring
Disable-OMSMonitoring - script to remove OMS agent to disable OMS monitoring..SYNOPSIS - This script install OMS agent to enable OMS monitoring. .DESCRIPTION - The script install Oms agent on selected VM and store all log in Oms workspace so that user can search any logs
azureautomation/Migrate-automation-account-assets-from-one-region-to-another
azureautomation/newstorageaccount-child-runbook-1
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/powershell-runbook-to-display-worker-s-psmodulepath-environment-variable
DescriptionThis simple Azure Automation PowerShell runbook displays all the folders listed in the PSModulePath enviornment variable on the worker that executed the runbook. This can be helpful when using Azure Automation hybrid workers and require manually deploy custom PowerSh
azureautomation/registers-azure-resource-manager-virtual-machines-with-automation-dsc-service
This runbook registers Azure resource manager virtual machines with automation DSC service. These can either be Windows or Linux virtual machines that are supported with DSC. You can specify the whole subscription, a specific resource group, or an individual VM.
azureautomation/sample-monitor-runbook-to-watch-for-event-ids-in-an-azure-virtual-machine
This runbook looks for a specific event ID in an Azure VM so that an action could be taken. It should be used with the Manage-MonitorRunbook runbook. Please refer to http://azure.microsoft.com/blog/2014/11/17/monitoring-azure-services-and-external-systems-with-azure-automation
azureautomation/shutdownstart-arm-vms-by-resource-group-in-parallel
It shutdowns/starts ARM virtual machines by resource group in parallel. It has two parameters: the service name and the action you want to perform (shutdown (true) or start (false) your VMs).You have to create a Credential Asset with the name DefaultAzureCredential in order t
azureautomation/stop-azure-vms-in-the-order-you-want-using-tiers
This runbook stops all VM's in a subscription and allows you to specify the preferred order to stop Azure Virtual Machines.This script uses either certificate-based authentication to connect to Azure, which could be considered "depricated",using the $AzureConnectionName par
azureautomation/writes-a-message-to-the-event-log
This runbook is responsible for writing log entries into event log. This is quite a common requirment and there are specific steps that needs to be performed for writing to event log. THe Event log should exists. THe event source should also exists. This runbook does not crea