<?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 Bug: Get-Nc* collections does not play well with pipelines in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/Bug-Get-Nc-collections-does-not-play-well-with-pipelines/m-p/135537#M29769</link>
    <description>&lt;P&gt;For example, if I do something like `$info = Get-NcCifsServer -Controller $controller | Where-Object { $_.Vserver -eq "vserver"} | Select -First 1`, it would output the result in the console, not executing the `Select` or storing the results into `$info`.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To work around this, I have had to split the statement into two:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$_info = Get-NcCifsServer -Controller $controller&lt;/P&gt;&lt;P&gt;$info = $&lt;SPAN&gt;_info&lt;/SPAN&gt; | Where-Object { $_.Vserver -eq&amp;nbsp;"vserver" } | Select -First 1&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 14:26:38 GMT</pubDate>
    <dc:creator>tyteen4a03</dc:creator>
    <dc:date>2025-06-04T14:26:38Z</dc:date>
    <item>
      <title>Bug: Get-Nc* collections does not play well with pipelines</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/Bug-Get-Nc-collections-does-not-play-well-with-pipelines/m-p/135537#M29769</link>
      <description>&lt;P&gt;For example, if I do something like `$info = Get-NcCifsServer -Controller $controller | Where-Object { $_.Vserver -eq "vserver"} | Select -First 1`, it would output the result in the console, not executing the `Select` or storing the results into `$info`.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To work around this, I have had to split the statement into two:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$_info = Get-NcCifsServer -Controller $controller&lt;/P&gt;&lt;P&gt;$info = $&lt;SPAN&gt;_info&lt;/SPAN&gt; | Where-Object { $_.Vserver -eq&amp;nbsp;"vserver" } | Select -First 1&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 14:26:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/Bug-Get-Nc-collections-does-not-play-well-with-pipelines/m-p/135537#M29769</guid>
      <dc:creator>tyteen4a03</dc:creator>
      <dc:date>2025-06-04T14:26:38Z</dc:date>
    </item>
  </channel>
</rss>

