<?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 Command Error: Get-NcCifsSession and Get-NcCifsSessionFile in Microsoft Virtualization Discussions</title>
    <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/459572#M7037</link>
    <description>&lt;P&gt;Hi&amp;nbsp;DougDevokaitis, we are able to identify the issue, and the fix will be available in upcoming PSTK release&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 21:15:15 GMT</pubDate>
    <dc:creator>saharsh</dc:creator>
    <dc:date>2025-03-20T21:15:15Z</dc:date>
    <item>
      <title>PowerShell Command Error: Get-NcCifsSession and Get-NcCifsSessionFile</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/459530#M7034</link>
      <description>&lt;P&gt;Several ONTAP storage clusters are providing ONTAP Connection IDs larger than 64Bit Integer can support.&amp;nbsp; The commands are failing with this error:&lt;/P&gt;&lt;P&gt;Get-NcCifsConnection : Error converting value &lt;STRONG&gt;12930960430088848194&lt;/STRONG&gt; to type 'System.Nullable`1[System.Int64]'. Path 'sessions[0].identifier', line 18, position 40.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Get-NcCifsConnection&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Get-NcCifsConnection], ArgumentException&lt;BR /&gt;+ FullyQualifiedErrorId : Error converting value &lt;STRONG&gt;12930960430088848194&lt;/STRONG&gt; to type 'System.Nullable`1[System.Int64]'. Path 'sessions[0].identifier', line 18, position 40.,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsConnection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NcCifsSessionFile : Error converting value &lt;STRONG&gt;12930960430088913433&lt;/STRONG&gt; to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 26, position 38.&lt;BR /&gt;At line:1 char:1&lt;BR /&gt;+ Get-NcCifsSessionFile&lt;BR /&gt;+ ~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;+ CategoryInfo : NotSpecified: (:) [Get-NcCifsSessionFile], ArgumentException&lt;BR /&gt;+ FullyQualifiedErrorId : Error converting value &lt;STRONG&gt;12930960430088913433&lt;/STRONG&gt; to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 26, position 38.,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsSessionFile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have verified the storage clusters ONTAP CIFS Connection IDs are larger the 64Bit integer can handle.&lt;/P&gt;&lt;P&gt;64bit Maximum integer number: 9223372036854775807&lt;BR /&gt;ONTAP Session ID:&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; 12930960430088908395&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 16:53:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/459530#M7034</guid>
      <dc:creator>DougDevokaitis</dc:creator>
      <dc:date>2025-03-19T16:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Command Error: Get-NcCifsSession and Get-NcCifsSessionFile</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/459572#M7037</link>
      <description>&lt;P&gt;Hi&amp;nbsp;DougDevokaitis, we are able to identify the issue, and the fix will be available in upcoming PSTK release&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 21:15:15 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/459572#M7037</guid>
      <dc:creator>saharsh</dc:creator>
      <dc:date>2025-03-20T21:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Command Error: Get-NcCifsSession and Get-NcCifsSessionFile</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/461909#M7064</link>
      <description>&lt;P&gt;We are getting below error while running NetApp PowerShell Tool Kit command Get-NcCifsSessionFile.&lt;/P&gt;&lt;P&gt;Error converting value 15081710727138984229 to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems the error occurs when the Session id is greater than the singed 64-bit Integer range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please confirm whether the above error is fixed. Kindly also help us to get feasible workaround/solution for the same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NetApp PowerShell Toolkit version&lt;/STRONG&gt;: 9.14.1 &amp;amp; 9.16.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NetApp OnTap version:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;NetApp Release 9.12.1P12&lt;/P&gt;&lt;P&gt;NetApp Release 9.14.1P11&lt;/P&gt;&lt;P&gt;NetApp Release 9.15.1P11&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Error:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get-NcCifsSessionFile | Select-Object node,vserver,ConnectionId,Share,Path&lt;/P&gt;&lt;P&gt;Get-NcCifsSessionFile : Error converting value 15081710727138984229 to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 21, position 38.&lt;/P&gt;&lt;P&gt;At line:1 char:1&lt;/P&gt;&lt;P&gt;+ Get-NcCifsSessionFile | Select-Object node,vserver,ConnectionId,Share ...&lt;/P&gt;&lt;P&gt;+ ~~~~~~~~~~~~~~~~~~~~~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + CategoryInfo&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NotSpecified: (:) [Get-NcCifsSessionFile], ArgumentException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + FullyQualifiedErrorId : Error converting value 15081710727138984229 to type 'System.Nullable`1[System.Int64]'. Path 'session.identifier', line 21, position 38.,DataONTAP.C.PowerShell.SDK.Cmdlets.Cifs.GetNcCifsSessionFile&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Observation:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The NetApp OS might be using Unsinged 64-bit integer data type. Range: 0 to 18446744073709551615 Decimal.&lt;/P&gt;&lt;P&gt;PowerShell long data type is equal to singed 64-bit integer. Range: –9223372036854775808 through 9223372036854775807 Decimal.&lt;/P&gt;&lt;P&gt;The error occurs whenever the session id crosses the PowerShell long data type or the signed int64 range.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Decimal Data type may be used in PowerShell to handle session ids instead of long data type. Decimal Data type range -79228162514264337593543950335 to 79228162514264337593543950335.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 14:03:16 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/461909#M7064</guid>
      <dc:creator>tx</dc:creator>
      <dc:date>2025-07-11T14:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: PowerShell Command Error: Get-NcCifsSession and Get-NcCifsSessionFile</title>
      <link>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/461910#M7065</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi saharah - &amp;nbsp;Can you confirm if the issue is fixed and also provide the fixed version?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 14:05:17 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Microsoft-Virtualization-Discussions/PowerShell-Command-Error-Get-NcCifsSession-and-Get-NcCifsSessionFile/m-p/461910#M7065</guid>
      <dc:creator>tx</dc:creator>
      <dc:date>2025-07-11T14:05:17Z</dc:date>
    </item>
  </channel>
</rss>

