Last modified time unattached disk Azure

Mohamed jihad bayali 1,101 Reputation points
2023-03-23T10:38:31.52+00:00

Hello Team,

I hope you're doing fine,

I'm just noticing that i have a lot of unattached disks in Azure, i want to see the last modified time of these disks, but i cannot find the information in azure portal (overview) neither in Powershell Get-AzDisk -ResourceGroupName "XXXX" -DiskName "xxxxx", i only have the creation date time.

Is it possible to have this info?

thanks

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
572 questions
0 comments No comments
{count} votes

Accepted answer
  1. Michael Durkan 12,151 Reputation points MVP
    2023-03-23T11:12:12.08+00:00

    Hi

    there is a similar thread here that may be able to help:

    https://learn.microsoft.com/en-us/answers/questions/786232/query-to-get-the-last-active-time-of-a-resource(di

    You could use Azure Orphaned Resources workbook to get a list of all unattached resources including disks, but unsure if it will give you last modified time:

    https://github.com/dolevshor/azure-orphan-resources

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!

0 additional answers

Sort by: Most helpful