PowerShell: Find orphaned disks in Azure and their cost - Eric's Blog
PowerShell: Find orphaned disks in Azure and their cost
Version: 1.0.1
Introduction:
Just wanted to get something super simple out there. I was curious how many unattatched disks our Azure portal had and what it was costing us. This little script will give us the basic answer to that question.
The script
This will loop through all subscriptions and gather all disks with a status of “unattatched”. Then it will try to find out how much they cost.
PowerShell: Find orphaned disks in Azure and their cost - Eric's Blog
PowerShell: Find orphaned disks in Azure and their cost Version: 1.0.1 Introduction: Just wanted to get something super simple out there. I was curious how many unattatched disks our Azure portal had and what it was costing us. This little script will give us the basic answer to that question. The script This will loop through all subscriptions and gather all disks with a status of “unattatched”. Then it will try to find out how much they cost.
https://ericcsinger.com/powershell-find-orphaned-disks-in-azure-and-their-cost/