<?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: How to search snapshots from list of filers :S in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69859#M3434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use powershell filtering to exclude these volumes, please find attached the modified script and let me know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the modifications which i made in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your scenario i have appended another controller "192.168.1.23" which is the one from which you need to exclude vol3 and vol4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13603387422615338" jivemacro_uid="_13603387422615338"&gt;&lt;P&gt;$NetappList=("192.168.1.22","192.168.1.23")&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next im checking for the IP address present in $global:CurrentNaController, if it matches 192.168.1.23 then $filteredvolumes variable would consist of all volumes from get-navol except vol3,vol4 (which you can modify with your volume names)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if the IP Adress does not match the criteria it goes about doing the normal get-navol query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13603387356916477" jivemacro_uid="_13603387356916477"&gt;&lt;P&gt;if (($global:CurrentNaController | select -ExpandProperty address).ipaddresstostring -match "192.168.1.23")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$filteredvolumes = get-navol | ?{$_.name -notmatch "vol3" -and $_.name -notmatch "vol4"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$filteredvolumes = get-navol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $filteredvolumes | foreach-object {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ParentName=$_.Name&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;Continued&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if it works out and solves your need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Feb 2013 15:53:08 GMT</pubDate>
    <dc:creator>vinith</dc:creator>
    <dc:date>2013-02-08T15:53:08Z</dc:date>
    <item>
      <title>How to search snapshots from list of filers :S</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69854#M3433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PowerUsers, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aim : To find Volumes (from list of filers) where more then hourly.30 snap exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a script in NA communities, which I modified as per my requirement, but I stuck in middle of d script. &lt;/P&gt;&lt;P&gt;The script works perfectly, only thing is pending is how I can exclude some volumes from some filers.&amp;nbsp; &lt;/P&gt;&lt;P&gt;e.g. : If I have 2 filers where each one have 8 vol. but I want to exclude vol3 and vol4 from 2nd filer.&lt;/P&gt;&lt;P&gt;Attached : Script[draft], Result &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 06:10:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69854#M3433</guid>
      <dc:creator>RITESHPARAB</dc:creator>
      <dc:date>2025-06-05T06:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to search snapshots from list of filers :S</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69859#M3434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ritesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to use powershell filtering to exclude these volumes, please find attached the modified script and let me know how it goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the modifications which i made in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on your scenario i have appended another controller "192.168.1.23" which is the one from which you need to exclude vol3 and vol4&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13603387422615338" jivemacro_uid="_13603387422615338"&gt;&lt;P&gt;$NetappList=("192.168.1.22","192.168.1.23")&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next im checking for the IP address present in $global:CurrentNaController, if it matches 192.168.1.23 then $filteredvolumes variable would consist of all volumes from get-navol except vol3,vol4 (which you can modify with your volume names)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else if the IP Adress does not match the criteria it goes about doing the normal get-navol query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13603387356916477" jivemacro_uid="_13603387356916477"&gt;&lt;P&gt;if (($global:CurrentNaController | select -ExpandProperty address).ipaddresstostring -match "192.168.1.23")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$filteredvolumes = get-navol | ?{$_.name -notmatch "vol3" -and $_.name -notmatch "vol4"}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$filteredvolumes = get-navol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $filteredvolumes | foreach-object {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $ParentName=$_.Name&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;Continued&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do let me know if it works out and solves your need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Feb 2013 15:53:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69859#M3434</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-02-08T15:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to search snapshots from list of filers :S</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69868#M3435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinit, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked your script and it's worked fine, it's solved my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;however, I have also found one more way to accomplish my task using CSV(att.)&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time and help&amp;nbsp; &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 06:38:48 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69868#M3435</guid>
      <dc:creator>RITESHPARAB</dc:creator>
      <dc:date>2013-02-11T06:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to search snapshots from list of filers :S</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69875#M3436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thats great awesome!!.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 06:40:49 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/How-to-search-snapshots-from-list-of-filers-S/m-p/69875#M3436</guid>
      <dc:creator>vinith</dc:creator>
      <dc:date>2013-02-11T06:40:49Z</dc:date>
    </item>
  </channel>
</rss>

