Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

ran the following "get-azurevm -na cpsadfs | remove-azurevm -deletevhd" and it killed all VM'S, wtf

$
0
0

I was just trying to delete the "cpsadfs" server but it deleted all vms.  Does that sound right?  Would think not,  created a bunch of new vms and tested again and once again it deleted all vm's. 

Am I doing something wrong or is this a major bug.

in the following example I'd suspect that the "aadfew" server would be deleted but once again as you see it deletes more then just that one.

get-azurevm -na aadfew | remove-azurevm -deletevhd

OperationDescription                      OperationId                               OperationStatus
--------------------                      -----------                               ---------------
Remove-AzureVM                            1acb2857-e797-8d28-a752-5a42e5fa529d      Succeeded
Remove-AzureVM                            c8cfdcd8-8ce8-8540-a4bd-21567d05970f      Succeeded

tr




Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>