Remove-ResourceGroup
1.0
This runbook connects to Azure and removes resource groups with names that have substrings that match the name filter.
All of the resources in each resource group are also removed.
An important option is to run in preview mode to see which resource groups and resources will be removed without actually removing them.
The Azure subscription that is assumed is the subscr
All of the resources in each resource group are also removed.
An important option is to run in preview mode to see which resource groups and resources will be removed without actually removing them.
The Azure subscription that is assumed is the subscr
This runbook connects to Azure and removes resource groups with names that have substrings that match the name filter.
All of the resources in each resource group are also removed.
An important option is to run in preview mode to see which resource groups and resources will be removed without actually removing them.
The Azure subscription that is assumed is the subscription that contains the Automation account that is running this runbook.
The runbook will NOT remove the resource group that contains the Automation account that is running this runbook.
REQUIRED AUTOMATION ASSETS
An Automation connection asset that contains the Azure service principal, by default named AzureRunAsConnection.
Show more
All of the resources in each resource group are also removed.
An important option is to run in preview mode to see which resource groups and resources will be removed without actually removing them.
The Azure subscription that is assumed is the subscription that contains the Automation account that is running this runbook.
The runbook will NOT remove the resource group that contains the Automation account that is running this runbook.
REQUIRED AUTOMATION ASSETS
An Automation connection asset that contains the Azure service principal, by default named AzureRunAsConnection.
Installation Options
Owners
Package Details
Author(s)
- Azure Automation Team
Tags
Azure Automation Resource Group PowerShell Runbook
Dependencies
This script has no dependencies.
FileList
- Remove-ResourceGroup.nuspec
- Remove-ResourceGroup.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
1.0 (current version) | 348 | 9/20/2016 |