<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get Snapshots in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-Snapshots/m-p/28508#M1302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a quick query, but I suspect I already know the answer and just need to put it together.&lt;/P&gt;&lt;P&gt;Is there a way to quickly export a list of the snapshots, per volume?.&lt;/P&gt;&lt;P&gt;This can be done on a vol by vol basis no problems, but if you have hundreds to look at, no one wishes to repeat the task lots of times..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie: get-navol vol0 | get-nasnapshot - the console will output a list of snaps for vol0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run: get-navol | get-snapshot, the console will output a snapshot list for each and every volume, but the output is kind of useless as you have no way of identifying hundreds of snapshots and the relevant parent volume, as the output is one continous list..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondered if I was missing a switch or command to get the correct output?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 06:56:17 GMT</pubDate>
    <dc:creator>martin_fisher</dc:creator>
    <dc:date>2025-06-05T06:56:17Z</dc:date>
    <item>
      <title>Get Snapshots</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-Snapshots/m-p/28508#M1302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a quick query, but I suspect I already know the answer and just need to put it together.&lt;/P&gt;&lt;P&gt;Is there a way to quickly export a list of the snapshots, per volume?.&lt;/P&gt;&lt;P&gt;This can be done on a vol by vol basis no problems, but if you have hundreds to look at, no one wishes to repeat the task lots of times..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie: get-navol vol0 | get-nasnapshot - the console will output a list of snaps for vol0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you run: get-navol | get-snapshot, the console will output a snapshot list for each and every volume, but the output is kind of useless as you have no way of identifying hundreds of snapshots and the relevant parent volume, as the output is one continous list..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just wondered if I was missing a switch or command to get the correct output?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:56:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-Snapshots/m-p/28508#M1302</guid>
      <dc:creator>martin_fisher</dc:creator>
      <dc:date>2025-06-05T06:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get Snapshots</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-Snapshots/m-p/28514#M1303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are examples of how to do this in the forum, but I've attached a script which can query multiple filers and sends an HTML report via email (with snapshots per volume, as you're requesting). You can either use it 'as is' or cannibalise the code to do exactly what you need. Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 11:52:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-Snapshots/m-p/28514#M1303</guid>
      <dc:creator>egrigson1</dc:creator>
      <dc:date>2011-04-20T11:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Get Snapshots</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-Snapshots/m-p/28523#M1304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Martin.&amp;nbsp; The snapshot structure from Data ONTAP doesn't include the parent snapshot info, which is a known pain point and prevents effective use of snapshot objects in the PowerShell pipeline.&amp;nbsp; The forthcoming Toolkit 1.4 adds this information and should address your concern.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier; "&gt;PS C:\&amp;gt; Get-NaSnapshot vol0 hourly.* | select Name, TargetName, TargetType | ft -AutoSize&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier; "&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier; "&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TargetName TargetType&lt;BR /&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------- ----------&lt;BR /&gt;hourly.0 vol0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; volume&lt;BR /&gt;hourly.1 vol0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; volume&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier; "&gt;PS C:\&amp;gt; Get-NaSnapshot vol0 hourly.* | Remove-NaSnapshot&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: courier new,courier; "&gt;Delete snapshot&lt;BR /&gt;Are you sure you want to delete snapshot hourly.0 from volume vol0?&lt;BR /&gt;[Y] Yes&amp;nbsp; [A] Yes to All&amp;nbsp; [N] No&amp;nbsp; [L] No to All&amp;nbsp; [S] Suspend&amp;nbsp; [?] Help (default is "Y"): a&lt;BR /&gt;PS C:\&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 14:58:10 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-Snapshots/m-p/28523#M1304</guid>
      <dc:creator>cknight</dc:creator>
      <dc:date>2011-04-20T14:58:10Z</dc:date>
    </item>
  </channel>
</rss>

