Skip to content

Instantly share code, notes, and snippets.

@roccoren
Created October 7, 2013 16:19
Show Gist options
  • Save roccoren/6870640 to your computer and use it in GitHub Desktop.
Save roccoren/6870640 to your computer and use it in GitHub Desktop.
Bluk Remove Windows Azure VMs.
$vm = Get-AzureService -ServiceName "PECVM3" | Get-AzureVM
foreach ($AzureVM in $vm)
{Remove-AzureVM -Name $AzureVM.Name -ServiceName $AzureVM.ServiceName}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment