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) Next
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?