<?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 VBScript not fully working in Software Development Kit (SDK) and API Discussions</title>
    <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/VBScript-not-fully-working/m-p/118566#M1910</link>
    <description>&lt;P&gt;I use a combination of vbscripts to get sessions and close sessions. After migrating to CDOT 8.3.1 (FAS8080, 8040, and 8020) they stopped working 100%. Before the migration, when on 7-Mode, these scripts worked. After migrating, they still somewhat work but I am hitting some kind of theshold - late at night the script below works, it returns session information. During the day when there are thousands of sessions, it returns nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know the name of the NetApp interfaces used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save to a .vbs file, run as: cscript scriptname.vbs servername&lt;/P&gt;&lt;P&gt;Set Arg = WScript.Arguments&lt;BR /&gt;&lt;BR /&gt;Set objConnection = GetObject("WinNT://"&amp;amp; arg(0) &amp;amp;"/LanmanServer")&lt;BR /&gt;Set colSessions = objConnection.Sessions&lt;BR /&gt;&lt;BR /&gt;For Each objSession in colSessions&lt;BR /&gt;Wscript.Echo objSession.Name 'colSessions.Remove(objSession.Name)&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will provide sample output as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NetApp is telling me they do not support user-generated scripts, and won't support me. From what I can tell the problem is not with the script, but with the interface. &amp;nbsp;Does anyone know of a way to fix this?&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 21:18:21 GMT</pubDate>
    <dc:creator>Lucas85</dc:creator>
    <dc:date>2025-06-04T21:18:21Z</dc:date>
    <item>
      <title>VBScript not fully working</title>
      <link>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/VBScript-not-fully-working/m-p/118566#M1910</link>
      <description>&lt;P&gt;I use a combination of vbscripts to get sessions and close sessions. After migrating to CDOT 8.3.1 (FAS8080, 8040, and 8020) they stopped working 100%. Before the migration, when on 7-Mode, these scripts worked. After migrating, they still somewhat work but I am hitting some kind of theshold - late at night the script below works, it returns session information. During the day when there are thousands of sessions, it returns nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know the name of the NetApp interfaces used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save to a .vbs file, run as: cscript scriptname.vbs servername&lt;/P&gt;&lt;P&gt;Set Arg = WScript.Arguments&lt;BR /&gt;&lt;BR /&gt;Set objConnection = GetObject("WinNT://"&amp;amp; arg(0) &amp;amp;"/LanmanServer")&lt;BR /&gt;Set colSessions = objConnection.Sessions&lt;BR /&gt;&lt;BR /&gt;For Each objSession in colSessions&lt;BR /&gt;Wscript.Echo objSession.Name 'colSessions.Remove(objSession.Name)&lt;BR /&gt;Next&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will provide sample output as needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NetApp is telling me they do not support user-generated scripts, and won't support me. From what I can tell the problem is not with the script, but with the interface. &amp;nbsp;Does anyone know of a way to fix this?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:18:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Software-Development-Kit-SDK-and-API-Discussions/VBScript-not-fully-working/m-p/118566#M1910</guid>
      <dc:creator>Lucas85</dc:creator>
      <dc:date>2025-06-04T21:18:21Z</dc:date>
    </item>
  </channel>
</rss>

