netstat command close connection code example
Example 1: stop kill network connection using cmd line
TaskKill.exe /PID <value>
Example 2: stop kill network connection using cmd line
%%P instead of %P
TaskKill.exe /PID <value>
%%P instead of %P