<?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 Re: Created object on get-NaSnapsot Powershell 4.1 dissapeared in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115225#M4714</link>
    <description>&lt;P&gt;This is the complete script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Variable of date type which is 3 days before the current date&lt;/P&gt;&lt;P&gt;$3days = (get-date).adddays(-3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Get list of all snapshots older than 3 days and delete them&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-Navol | Get-NaSnapshot | where-object {$_.name -like "smo_*" -and $_.created -lt $3days} | Remove-NaSnapshot -Confirm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was working properly until the upgrade.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Sun, 31 Jan 2016 21:56:36 GMT</pubDate>
    <dc:creator>falarkiko10</dc:creator>
    <dc:date>2016-01-31T21:56:36Z</dc:date>
    <item>
      <title>Created object on get-NaSnapsot Powershell 4.1 dissapeared</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115213#M4709</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have one Powershell code to delete old snapshots: &lt;STRONG&gt;Get-Navol | Get-NaSnapshot | where-object {$_.name -like "smo_*" -and $_.created -lt $3days} | Remove-NaSnapshot -Confirm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My storage is FAS8020 7-mode 8.2.2P2 and after upgrade the powershell toolkit to version 4.1 de .created object was dissapear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Who can I do the same with the new version of Powershell or where can I download the old version of toolkit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 22:12:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115213#M4709</guid>
      <dc:creator>falarkiko10</dc:creator>
      <dc:date>2025-06-04T22:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Created object on get-NaSnapsot Powershell 4.1 dissapeared</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115221#M4712</link>
      <description>&lt;P&gt;Can you give any more details?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Does "Get-NaVol" return all expected volumes?&lt;/LI&gt;&lt;LI&gt;Does "Get-NaVol | Get-NaSnapshot" return all expected snapshots?&lt;/LI&gt;&lt;LI&gt;Does the filter for '$_.Name -like "smo_*"' return the exected values?&lt;/LI&gt;&lt;LI&gt;Does the filter for '$_.Created -lt $3days' return the expected values?&lt;/LI&gt;&lt;LI&gt;What is the value of "$3days"?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In particular, for the last two it would be helpful to know if they work separately...i.e. just use one at a time for the testing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jan 2016 19:33:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115221#M4712</guid>
      <dc:creator>asulliva</dc:creator>
      <dc:date>2016-01-31T19:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: Created object on get-NaSnapsot Powershell 4.1 dissapeared</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115225#M4714</link>
      <description>&lt;P&gt;This is the complete script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Variable of date type which is 3 days before the current date&lt;/P&gt;&lt;P&gt;$3days = (get-date).adddays(-3)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Get list of all snapshots older than 3 days and delete them&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-Navol | Get-NaSnapshot | where-object {$_.name -like "smo_*" -and $_.created -lt $3days} | Remove-NaSnapshot -Confirm&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It was working properly until the upgrade.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Sun, 31 Jan 2016 21:56:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115225#M4714</guid>
      <dc:creator>falarkiko10</dc:creator>
      <dc:date>2016-01-31T21:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Created object on get-NaSnapsot Powershell 4.1 dissapeared</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115232#M4715</link>
      <description>&lt;P&gt;Could you also tell us which version of Data ONTAP PowerShell Toolkit you were using before this?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2016 09:48:00 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115232#M4715</guid>
      <dc:creator>Aparajita</dc:creator>
      <dc:date>2016-02-01T09:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Created object on get-NaSnapsot Powershell 4.1 dissapeared</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115408#M4719</link>
      <description>&lt;P&gt;I tried with the same scenario and was able to achieve the deletion of snapshots. I have tried with just 1 day earlier snapshots, as I dont have very old snapshots.&amp;nbsp;Below&amp;nbsp;are the images for reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#Variable of date type which is 1 day before the current date&lt;/P&gt;&lt;P&gt;$1day = (get-date).adddays(-1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/4725i8649B5387F780EF2/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="11.png" title="11.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/4722i86FD2D7A4A1C4B6B/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="22.png" title="22.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/4723iBFE71A893315D9C6/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="33.png" title="33.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.netapp.com/t5/image/serverpage/image-id/4726iA2A25A6223953D83/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="44.png" title="44.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As seen in the images, the snapshots were deleted successfully.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 11:02:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Created-object-on-get-NaSnapsot-Powershell-4-1-dissapeared/m-p/115408#M4719</guid>
      <dc:creator>Shashanka</dc:creator>
      <dc:date>2016-02-04T11:02:31Z</dc:date>
    </item>
  </channel>
</rss>

