Created
October 18, 2016 11:43
-
-
Save bblanchon/9a191854511ef7816d9fc9fbe7aefeca to your computer and use it in GitHub Desktop.
Azure: delete all unattached disks
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
Get-AzureDisk | where {$_.AttachedTo -eq $null} | Remove-AzureDisk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment