Giter Club home page Giter Club logo

azureautomation / stop-all-vms-in-specified-azure-resource-group Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 11 KB

SYNOPSIS        This PowerShell Workflow script, intended to run in an Azure Automation runbook, stops all the Azure VMs in a specific Azure Resource Group.DESCRIPTIONThis sample runbooks stops all of the virtual machines in the specified Azure Resource Group. For more informatio

License: Other

PowerShell 100.00%
azureautomationrunbookgallery

stop-all-vms-in-specified-azure-resource-group's Introduction

Stop All VMs in Specified Azure Resource Group

**SYNOPSIS        **

This PowerShell Workflow script, intended to run in an Azure Automation runbook, stops all the Azure VMs in a specific Azure Resource Group.

DESCRIPTION

This sample runbooks stops 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. 

Note: If you do not uncomment the 'Select-AzureSubscription' statement (on line 57) and insert  the name of your Azure subscription, the runbook will use the default subscription.

**PARAMETER ResourceGroupName       **

Name of the Azure Resource Group containing the VMs to be stopped.

**REQUIREMENTS        **

This runbook requires the Azure Resource Manager PowerSHell module has been imported into your Azure Automation instance.

This runbook will only return VMs deployed using the new Azure IaaS features available in the Azure Preview Portal and Azure Resource Manager templates. For more information, see  http://azure.microsoft.com/en-us/documentation/videos/build-2015-introduction-and-what-s-new-in-azure-iaas/.         

**NOTES       **

AUTHOR: Pete Zerger, MVP        

LASTEDIT: May 13, 2015

 

 

TechNet gallery is retiring! This script was migrated from TechNet script center to GitHub by Microsoft Azure Automation product group. All the Script Center fields like Rating, RatingCount and DownloadCount have been carried over to Github as-is for the migrated scripts only. Note : The Script Center fields will not be applicable for the new repositories created in Github & hence those fields will not show up for new Github repositories.

stop-all-vms-in-specified-azure-resource-group's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.