Created
September 2, 2015 10:07
-
-
Save bblanchon/ed565b3b015dd0191a15 to your computer and use it in GitHub Desktop.
Azure: delete all VMs of a subscription
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add-AzureAccount | |
Select-AzureSubscription -SubscriptionName "Continuous Integration" | |
Get-AzureVM | Remove-AzureVM -DeleteVHD -Verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment