I am trying to club independent requirements in this blog but I hope it will be handy!
• NETSTAT Command:
I use this command to identify network connections established between my Server/Machine to different Servers/Sites, netstat –nb is one of my favorites which displays all connections along with executable name.
NOTE: This command needs to be executed with admin privileges.
• Qwinsta/ rwinsta/ Query/ Reset commands:
Qwinsta/ rwinsta and Query/ Reset commands are same and solves same purpose! These commands are used when we need to find the users who are connected to a remote Server.
Example: in below example, we identify active users and log off one of the users from remove server (User with session ID as 4).
QUERY SESSION /SERVER:ServerName
RESET SESSION N /SERVER:ServerName
• WSLB Command:
This command is used to find the information related to Network load balance.
WSLB PARAMS is one of my commonly used command during maintenance activity to check number of active connections on a given Server.
Command to find Active connections in NLB
Command to find Active connections in Windows Server
Command to find Active connections in the session
How to find Active connections in NLB
How to find Active connections in Windows Server
How to find Active connections in the session