Hello @Sgoyal696
You can use the Get-NcCifsSession for both cluster and 7-mode to retrieve the list of the established CIFS sessions.
Per example:
PS C:\Users\Administrator.DEMO> Get-NcCifsSession
LifAddress SessionId ConnectionId ConnectedTime ProtocolVersion Address Vserver
---------- --------- ------------ ------------- --------------- ------- -------
x.x.x.x ...233245698 1955314432 2h 29m 51s smb3_1 y.y.y.y svm1
x.x.x.x ...235143682 4066832764 7m 47s smb3_1 y.y.y.y svm1
For additional info and parameter to use with the above command check :
PS C:\Users\Administrator.DEMO> Get-help Get-NcCifsSession -full
Thanks