How do we know Azure Snapshot is OrphanSnapshot/unusedSnapshot using powershell..Please sugegst if any process.


Hi ,

Please suggest if any way to identify Azure Snapshot is OrphanSnapshot/unusedSnapshot using powershell.


Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,064 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
569 questions
{count} votes

Accepted answer
  1. srbhatta-MSFT 8,546 Reputation points Microsoft Employee

    Hello @Venkata satyanarayana Machari veera (CIS) ,
    Welcome to Microsoft QnA.
    You can use the below common Powershell cmdlet to identify all the snapshots in your subscription which are older than 30 days.

    Get-AzSnapshot |   
    >>   Where-Object {$_.TimeCreated -lt (Get-Date).AddDays(-30)} |   
    >>   Select-Object name, TimeCreated, ResourceGroupName  

    Hope this helps. Please feel free to reach back if you have any questions. Thanks :)


    If you find the above information helpful, kindly accept as answer or upvote to increase the relevancy of this post.

    0 comments No comments

0 additional answers

Sort by: Most helpful