Code Monkey home page Code Monkey logo

Azure Automation's Projects

setazurewebappalwayson icon setazurewebappalwayson

This script can be used during code deployment in Microsoft Azure WebApp. It be design to force AlwaysOn activation and It supports Slot deployment.You can set multiples params :[-ResourceGroupName(Mandatory)] [-WepAppName(Mandatory)] [-AlwaysOn(Mandatory)] [-Slot(Optionnal)]What

setsqlfirewallrules-runbook icon setsqlfirewallrules-runbook

This runbook sets up a connection to an Azure virtual machine.It requires the Connect-AzureVM to be published before runningIt will then configure the Virtual Machines Firewall to allow SQL Traffic using the choices defined in the parameters.The All parameter will always over

setup-azure-devops-agent-pools-and-agent-on-windows-server icon setup-azure-devops-agent-pools-and-agent-on-windows-server

This is sample code modified from DSC configuration to use used as a imperative script.There are samples of:1) Authenticating to Azure DevOps from PowerShell with a PAT token2) Calling the api to test if the pool exists.3) Creating the pool if it doesn't exist.4) Downloading the

setwebappserviceplan-change-app-service-plan-of-a-web-app-in-azure icon setwebappserviceplan-change-app-service-plan-of-a-web-app-in-azure

This function can change the app service plan of a website in Azure. It can also turn on AutoScale.It is not really production ready (should have more checks and error handling) but was created to give someone an idea on how to work with the new Azure module. So it's a bit simple

shutdownstart-arm-vms-by-resource-group-in-parallel icon 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

shutdownstart-asm-vms-by-cloud-service-in-parallel icon shutdownstart-asm-vms-by-cloud-service-in-parallel

It shutdowns/starts ASM virtual machines by Cloud Service 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 to acce

shutdownstart-vms--asm-and-arm--by-resource-group icon 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

shutdownstart-vms-by-tag icon shutdownstart-vms-by-tag

This script shutdowns/starts VMs by a given tag and its value. If you don't have it, you have to create a Credential Asset with the name DefaultAzureCredential in order to access your account. You can know more about this script here: https://www.returngis.net/2016/07/por-que-eti

simple-azure-vnet2vnet-connection-powershell-script icon simple-azure-vnet2vnet-connection-powershell-script

The purpose of this script is to create two Azure Virtual Networks in different Azure regions and then make connectivity between them. PowerShell script will create Virtual Networks, Define Virtual Gateways, Virtual Networks Connections and connectivity between them. Just defin

sizing-an-elastic-pool-edtu-and-storage-resources icon sizing-an-elastic-pool-edtu-and-storage-resources

This runbook sizing an elastic pool set Maximum DTUs utilized by all databases in the pool  . And set Maximum storage bytes utilized by all databases in the pool. You can look up the available characteristics   and tiers on https://docs.microsoft.com/en-us/azure/sql-database/sql

sql-alwayson-with-windows-2012-r2-storage-spaces icon sql-alwayson-with-windows-2012-r2-storage-spaces

In 2012 R2 with the cluster feature enabled any storage space objects created from will be automatically clustered by default. This example script will:Turn off the automatic clustering of spaces Build a simple space out of any locally attached pool(able) disks

sql-azure-firewall-management icon sql-azure-firewall-management

Script will walk you through adding or replacing firewalls for SQL databases within Subscriptions. By default, the script enumerate subscriptions , servers, and databases unless specified otherwise.

start-all-vms-in-specified-azure-resource-group icon start-all-vms-in-specified-azure-resource-group

This sample runbooks starts all of the virtual machines in the specified Azure Resource Group. For more information about how this runbook authenticates to your Azure subscription, see the Microsoft documentation here: http://aka.ms/fxu3mn.

start-azure-classic-vms icon start-azure-classic-vms

This PowerShell Workflow runbook connects to Azure and starts all classic VMs in an Azure subscription or cloud service.  You can attach a schedule to this runbook to run it at a specific time.

start-azure-classic-vms-001 icon start-azure-classic-vms-001

This Graphical PowerShell Workflow runbook gets all of your Azure VMs or just the VMs in a service and then starts the ones that are stopped. You can import and use this runbook in the Azure Portal.

start-azure-v2-vms icon 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

start-azure-v2-vms-001 icon start-azure-v2-vms-001

This PowerShell script runbook connects to Azure and starts all VMs in an Azure subscription or cloud service. You can attach a schedule to this runbook to run it at a specific time.

start-azure-virtual-machine-using-azure-automation-runbook icon start-azure-virtual-machine-using-azure-automation-runbook

Demonstrates starting all Microsoft Azure Virtual Machine in a specific Azure subscription by starting with the Microsoft Active Directory Domain Controllers. The script could be associated with the new Azure Automation Scheduler to start the Virtual Machines at specific time

start-azure-vms-in-order-or-stop-in-reverse-order icon 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.

start-storsimple-virtual-appliance icon start-storsimple-virtual-appliance

This runbook starts the StorSimple virtual appliance in case it is in shut down state. This script is to be used in the context of ASR (Azure Site Recovery) recovery plan for workloads hosted on StorSimple devices.

start-v2-vms-and-vm-scales-sets-by-tag--graphical- icon start-v2-vms-and-vm-scales-sets-by-tag--graphical-

DESCRIPTIONThis Graphical PowerShell runbook connects to Azure and starts all V2 VMs in an Azure subscription and resource group where a VM or VM Scale Set contains a User Defined Tag Name and Value. You can attach a recurring schedule to this runbook to run it at a specific ti

start-windows-azure-virtual-machines-on-a-schedule icon start-windows-azure-virtual-machines-on-a-schedule

Demonstrates starting a single Virtual Machine or set of Virtual Machines (using a wildcard pattern) within a Cloud Service. It does this by creating scheduled tasks to start the Virtual Machine(s) on a schedule at the time specified.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.