AZ-900 Microsoft Azure Fundamentals 2020

Sign Up Free or Log In to participate!

Remove VM

Hi all,

Had a problem when trying to remove the VM’s associated Storage Account when typed following command.

Remove-AzVM –name=[name] –resource-group=[name] 

Is this valid that storageaccount and disk , security group will still not be removed?


1 Answers

Hi Nagaraj,

Yes, that is correct. The cmdlet Remove-AzVM only removes the VM, and no other resources. 


Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?