Software Development Kit (SDK) and API Discussions

VBScript not fully working


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.


I don't know the name of the NetApp interfaces used. 



Save to a .vbs file, run as: cscript scriptname.vbs servername

Set Arg = WScript.Arguments

Set objConnection = GetObject("WinNT://"& arg(0) &"/LanmanServer")
Set colSessions = objConnection.Sessions

For Each objSession in colSessions
Wscript.Echo objSession.Name 'colSessions.Remove(objSession.Name)


I will provide sample output as needed.


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.  Does anyone know of a way to fix this?

NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner