Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Script for Cleanup #82

Closed
marvinbuss opened this issue Jun 7, 2021 · 1 comment
Closed

Add Script for Cleanup #82

marvinbuss opened this issue Jun 7, 2021 · 1 comment
Assignees
Labels
feature Feature Requests

Comments

@marvinbuss
Copy link
Collaborator

marvinbuss commented Jun 7, 2021

Describe the solution you'd like
Add a script for cleanup of all resources after testing the environment.

$filter = 'prefix-'
Get-AzResourceGroup | ? ResourceGroupName -match $filter | Select-Object ResourceGroupName

$filter = 'prefix-'
Get-AzResourceGroup | ? ResourceGroupName -match $filter | Remove-AzResourceGroup -AsJob -Force
@marvinbuss marvinbuss added the feature Feature Requests label Jun 7, 2021
@marvinbuss marvinbuss self-assigned this Jun 7, 2021
@marvinbuss
Copy link
Collaborator Author

Added conversation to Discussions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature Requests
Projects
None yet
Development

No branches or pull requests

1 participant