<?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: Powershell Get-NCSnapshot timeout in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/448826#M6836</link>
    <description>&lt;P&gt;Thanks for this! I'm fetching timestamps of oldest and latest snapshots for each volume with these kind of calls:&lt;BR /&gt;&lt;BR /&gt;Get-NcSnapshot -volume $name | Sort-Object -Property created | Select-Object -first 1 -ExpandProperty Created&lt;/P&gt;&lt;P&gt;Since Get-NcSnapshot now takes like a minute for *each* snapshot, a call like that would take forever.&amp;nbsp; "-ZapiCall" fixed it but I assume that just uses the old, soon to be depreciated, API so let's hope they get the PowerShell module fixed.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Nov 2023 08:32:45 GMT</pubDate>
    <dc:creator>ACandell</dc:creator>
    <dc:date>2023-11-14T08:32:45Z</dc:date>
    <item>
      <title>Powershell Get-NCSnapshot timeout</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/445932#M6778</link>
      <description>&lt;P&gt;I have a script that we use at several locations to set snapmirror-labels.&amp;nbsp; Runs just fine on all my other systems, but here I'm getting an error on the Get-NCSnapshot command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WARNING: Record doesn't exist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried extending my timeout ($global:CurrentNCController.TimeoutMsec=600000), and that helped some, but I'm still getting this error.&amp;nbsp; The system I'm connecting from is on the same subnet, and I can HTTPS or SSH into the system with no delay or issue.&amp;nbsp; Running "volume snapshot show -vserver &amp;lt;vserver name&amp;gt; -volume &amp;lt;volume name&amp;gt;" via SSH runs instantly, no delay...but running "Get-NCSnapshot -vserver &amp;lt;vserver name&amp;gt; -volume &amp;lt;volume name&amp;gt;" takes forever...it will list a couple of snapshots, then give that warning message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm running ONTAP 9.12.1P4, with the Powershell module version 9.13.1.2306 on Powershell 5.1, in Windows Server 2019.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:47:05 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/445932#M6778</guid>
      <dc:creator>dguinn</dc:creator>
      <dc:date>2025-06-04T09:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-NCSnapshot timeout</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/445958#M6779</link>
      <description>&lt;P&gt;I found a workaround fix.&amp;nbsp; I added -ZapiCall to the end of my powershell call to the NetApp, and that took care of it.&amp;nbsp; There must be something with the REST version of the call for Get-NCSnapshot that doesn't jive with ONTAP 9.12.1P4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 14:57:25 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/445958#M6779</guid>
      <dc:creator>dguinn</dc:creator>
      <dc:date>2023-07-17T14:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-NCSnapshot timeout</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/447253#M6789</link>
      <description>&lt;P&gt;It also happens on ONTAP 9.10.1, but instead of the timeout I receive an error message when creating snapshots with &lt;FONT face="courier new,courier"&gt;New-NcSnapshot&lt;/FONT&gt; or querying for snapshots with &lt;FONT face="courier new,courier"&gt;Get-NcSnapshot&lt;/FONT&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Adding &lt;FONT face="courier new,courier"&gt;-ZapiCall&lt;/FONT&gt; fixed this.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Aug 2023 12:18:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/447253#M6789</guid>
      <dc:creator>rafael-miranda</dc:creator>
      <dc:date>2023-08-26T12:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-NCSnapshot timeout</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/448267#M6812</link>
      <description>&lt;P&gt;Well... I have the same issue as described.&amp;nbsp; Only thing is that when using -ZapiCall the "SnapmirrorLabel" attribute is $null...&amp;nbsp; Then can then be "solved" using something like this:&lt;/P&gt;&lt;P&gt;$snaps = Get-NcSnapshot -Volume $vol -Attributes @{ "snapmirrorlabel" = ""}-ZapiCall&lt;/P&gt;&lt;P&gt;Then then pulls the right SnapmirrorLabel, but not much else... and I also need the "Created" attribute which for some reason I cannot get at the same time...&amp;nbsp; any ideas are very welcome..&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 18:19:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/448267#M6812</guid>
      <dc:creator>Beardmann</dc:creator>
      <dc:date>2023-10-18T18:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-NCSnapshot timeout</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/448826#M6836</link>
      <description>&lt;P&gt;Thanks for this! I'm fetching timestamps of oldest and latest snapshots for each volume with these kind of calls:&lt;BR /&gt;&lt;BR /&gt;Get-NcSnapshot -volume $name | Sort-Object -Property created | Select-Object -first 1 -ExpandProperty Created&lt;/P&gt;&lt;P&gt;Since Get-NcSnapshot now takes like a minute for *each* snapshot, a call like that would take forever.&amp;nbsp; "-ZapiCall" fixed it but I assume that just uses the old, soon to be depreciated, API so let's hope they get the PowerShell module fixed.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Nov 2023 08:32:45 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/448826#M6836</guid>
      <dc:creator>ACandell</dc:creator>
      <dc:date>2023-11-14T08:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Powershell Get-NCSnapshot timeout</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/452685#M6895</link>
      <description>&lt;P&gt;From the 9.15.1 release, a new parameter will be introduced: hydrate, which will allow Yes, No, Partial.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yes, this is the default behaviour as it stands now. After a successful API call, it would fetch the full result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No: will it pass?return_records=true in the REST API, and then it will display any fields ONTAP configured (usually just keys, but sometimes a few more).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Partial: it will be responsible for fetching only the important properties of the commandlet.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After introducing the hydrate feature, the timeout concerns will be fixed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2024 18:24:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/Powershell-Get-NCSnapshot-timeout/m-p/452685#M6895</guid>
      <dc:creator>saharsh</dc:creator>
      <dc:date>2024-05-13T18:24:13Z</dc:date>
    </item>
  </channel>
</rss>

