<?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: Get-NcVol missing volumes in PowerShell 7 in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcVol-missing-volumes-in-PowerShell-7/m-p/464616#M7101</link>
    <description>&lt;P&gt;Thx for the information RobDBA.&lt;/P&gt;&lt;P&gt;This is very odd.&amp;nbsp; &amp;nbsp;Here are our versions:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NetApp ONTAP ver&amp;nbsp; 9.15.1P5&amp;nbsp; &amp;nbsp;(entire cluster)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PowerShell&amp;nbsp; ver&amp;nbsp; 7.5.4&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Visual Studio code ver&amp;nbsp; 1.106.3&lt;/P&gt;&lt;P&gt;I've been unable to find a resolution or workaround. I guess for now we'll have to continue using PS5.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Dec 2025 16:20:40 GMT</pubDate>
    <dc:creator>Hackysack</dc:creator>
    <dc:date>2025-12-02T16:20:40Z</dc:date>
    <item>
      <title>Get-NcVol missing volumes in PowerShell 7</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcVol-missing-volumes-in-PowerShell-7/m-p/464084#M7099</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;I'm fairly new to PowerShell. I was tasked with verifying all of our scripts run in PowerShell 7. Currently they are running in PowerShell 5.&amp;nbsp;&amp;nbsp;When used in PowerShell 5, the Get-NcVol command works perfectly, but in PowerShell 7 it misses nearly all of our volumes.&amp;nbsp; I installed the latest version of NetApp PowerShell Toolkit (ver. 9.17.1), but no change. I'm puzzled by this behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The main issue right now is the command:&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Get-NcVol&lt;/STRONG&gt;.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Example:&amp;nbsp; PowerShell 5.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PS C:\Users\_dhiggins&amp;gt; $volumes = Get-NcVol&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PS C:\Users\_dhiggins&amp;gt; $volumes.count&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;566&amp;nbsp; &amp;nbsp; &amp;lt;--&amp;nbsp;&lt;EM&gt;this is correct&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Example:&amp;nbsp; PowerShell 7:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PS C:\Users\_dhiggins&amp;gt; $volumes = Get-NcVol&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;PS C:\Users\_dhiggins&amp;gt; $volumes.count&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;23&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;EM&gt;&amp;lt;-- Why?? Nothing changed.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using Windows Server 2022 Standard, ver. 21H2 (PowerShell 7 is running in Visual Studio Code), fully updated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encountered this?&amp;nbsp; Do I need to use the Get-NcVol command differently in PS7??&amp;nbsp; I am unable to find a solution. I contacted NetApp and they directed me here.&lt;/P&gt;&lt;P&gt;Thank you, Doug&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 15:43:52 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcVol-missing-volumes-in-PowerShell-7/m-p/464084#M7099</guid>
      <dc:creator>Hackysack</dc:creator>
      <dc:date>2025-11-05T15:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVol missing volumes in PowerShell 7</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcVol-missing-volumes-in-PowerShell-7/m-p/464613#M7100</link>
      <description>&lt;P&gt;I'm not seeing any differences in the counts and I have 559 volumes spread across 3 clusters.&amp;nbsp; Here are the versions of the software I'm using:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;9.9.1.2106 NetApp.ONTAP&lt;/P&gt;&lt;P&gt;NetApp Release 9.12.1P14&lt;/P&gt;&lt;P&gt;NetApp Release 9.13.1P2&lt;/P&gt;&lt;P&gt;PS 5.1.19041.6456&lt;/P&gt;&lt;P&gt;PSCore&amp;nbsp;7.4.6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 15:36:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcVol-missing-volumes-in-PowerShell-7/m-p/464613#M7100</guid>
      <dc:creator>RobDBA</dc:creator>
      <dc:date>2025-12-02T15:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get-NcVol missing volumes in PowerShell 7</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcVol-missing-volumes-in-PowerShell-7/m-p/464616#M7101</link>
      <description>&lt;P&gt;Thx for the information RobDBA.&lt;/P&gt;&lt;P&gt;This is very odd.&amp;nbsp; &amp;nbsp;Here are our versions:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NetApp ONTAP ver&amp;nbsp; 9.15.1P5&amp;nbsp; &amp;nbsp;(entire cluster)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PowerShell&amp;nbsp; ver&amp;nbsp; 7.5.4&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Visual Studio code ver&amp;nbsp; 1.106.3&lt;/P&gt;&lt;P&gt;I've been unable to find a resolution or workaround. I guess for now we'll have to continue using PS5.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 16:20:40 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Get-NcVol-missing-volumes-in-PowerShell-7/m-p/464616#M7101</guid>
      <dc:creator>Hackysack</dc:creator>
      <dc:date>2025-12-02T16:20:40Z</dc:date>
    </item>
  </channel>
</rss>

