<?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 Delete an export rule by IP address in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Delete-an-export-rule-by-IP-address/m-p/37927#M7712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I'm looking to create a workflow that can by initiated by VCO to remove NFS Export Rules, based on a given list of IPs. I'm certainly not an expert in either SQL or Powershell, but I do have access to co-workers that are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have VCO provide only cluster/vserver/export_name, and a comma seperated list of IPs and then have the WFA workflow take that list of IPs, and remove them. The trouble i have is that all the WFA examples i find will only remove an export rule by rule_index. so i am thinking i should be able to create a command using powershell that will match the IP to the rule_index and then remove that rule. then loop the command for each IP address given. (i have not found a workflow that does this already)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that there is a filter "filter export rules by export policy", and that seems to generate a table that relates the IPs to the rule_index. i assume i should be able to use this, but i just dont understand how to use the output i need from that filter (the rule_index) and make powershell act on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Completely WFA-101 i'm sure, but any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Vogs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jun 2025 05:43:27 GMT</pubDate>
    <dc:creator>dawho1621</dc:creator>
    <dc:date>2025-06-05T05:43:27Z</dc:date>
    <item>
      <title>Delete an export rule by IP address</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Delete-an-export-rule-by-IP-address/m-p/37927#M7712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Guys,&lt;/P&gt;&lt;P&gt;I'm looking to create a workflow that can by initiated by VCO to remove NFS Export Rules, based on a given list of IPs. I'm certainly not an expert in either SQL or Powershell, but I do have access to co-workers that are.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to have VCO provide only cluster/vserver/export_name, and a comma seperated list of IPs and then have the WFA workflow take that list of IPs, and remove them. The trouble i have is that all the WFA examples i find will only remove an export rule by rule_index. so i am thinking i should be able to create a command using powershell that will match the IP to the rule_index and then remove that rule. then loop the command for each IP address given. (i have not found a workflow that does this already)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found that there is a filter "filter export rules by export policy", and that seems to generate a table that relates the IPs to the rule_index. i assume i should be able to use this, but i just dont understand how to use the output i need from that filter (the rule_index) and make powershell act on it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Completely WFA-101 i'm sure, but any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Vogs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:43:27 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Delete-an-export-rule-by-IP-address/m-p/37927#M7712</guid>
      <dc:creator>dawho1621</dc:creator>
      <dc:date>2025-06-05T05:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Delete an export rule by IP address</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Delete-an-export-rule-by-IP-address/m-p/37932#M7714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got what i was missing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$q = Get-NcExportRule -Template&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$q.ClientMatch = $ClientMatch&lt;/P&gt;&lt;P&gt;$q.Vserver = $VserverName&lt;/P&gt;&lt;P&gt;$q.PolicyName = $PolicyName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$rule = Get-NcExportRule -Query $q&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2014 20:37:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Delete-an-export-rule-by-IP-address/m-p/37932#M7714</guid>
      <dc:creator>dawho1621</dc:creator>
      <dc:date>2014-02-12T20:37:31Z</dc:date>
    </item>
  </channel>
</rss>

