Azure Automation (azureautomation)

Azure Automation

azureautomation

Geek Repo

Location:Redmond, Washington

Home Page:http://azure.microsoft.com/en-us/documentation/services/automation/

Github PK Tool:Github PK Tool

Azure Automation's repositories

runbooks

Sample Automation runbooks

Language:PowerShellLicense:MITStargazers:147Issues:20Issues:38

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

License:NOASSERTIONStargazers:3Issues:3Issues:2

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.

Language:PowerShellStargazers:2Issues:3Issues:1

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.

Language:PowerShellStargazers:2Issues:0Issues:0

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"

Language:PowerShellLicense:NOASSERTIONStargazers:2Issues:4Issues:2

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.

Language:PowerShellLicense:NOASSERTIONStargazers:2Issues:4Issues:5

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.

Language:PowerShellStargazers:1Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:1Issues:0Issues:0

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

Language:PowerShellLicense:NOASSERTIONStargazers:1Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:1Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:1Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellStargazers:0Issues:0Issues:0

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.

License:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

List-Deleted-Runbooks

List all deleted runbooks within 30 days for restore under special automation account

Language:PowerShellStargazers:0Issues:0Issues:0

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

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellStargazers:0Issues:0Issues:0
Language:PowerShellStargazers:0Issues:0Issues:0

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

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

License:NOASSERTIONStargazers:0Issues:0Issues:0

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

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

License:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0

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.

Language:PowerShellLicense:NOASSERTIONStargazers:0Issues:0Issues:0