Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (13.1k points)
I have created a script for deleting resource groups in PowerShell but it is not deleting as it contains backup items. I tried to disabled it but it take 14 days to delete it permanently. Can anyone help me with this?

1 Answer

0 votes
by (26.7k points)
edited by

You can try using with Az module rather than AzureRm. Go for uninstalling AzureRm using this command:

Uninstall-Module -Name AzureRm -AllVersions

And then, install the Az module.

After that, you can try to delete it using Az module. And make sure not to mix your command with AzureRm and Az module.

I hope this will help.

Want to become an Azure expert? join Azure Developer Training now!!

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...