Share via

Resource groups deletion

sns 9,251 Reputation points
2022-08-26T12:56:50.287+00:00

Is there any PowerShell command to delete all the resource groups?

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

0 comments No comments

Answer accepted by question author

Andreas Baumgarten 132.1K Reputation points MVP Volunteer Moderator
2022-08-26T13:03:03.65+00:00

Hi @sns ,

please take a look here: https://learn.microsoft.com/en-us/powershell/module/az.resources/remove-azresourcegroup?view=azps-8.2.0#example-3-remove-all-resource-groups

----------

(If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

Regards
Andreas Baumgarten

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.