windows命令汇总
windows命令汇总
1. 查看注册表的值
reg query “HKLM\Software\YourSoftwareKey” /v YourValueName
举例
reg query “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters” /v MaxUserPort
reg query “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters” /v TcpTimedWaitDelay
2. 查看tcp链接
netstat -an | find /C “TCP”
netstat -an | find /C “TIME_WAIT”
netstat -an | find “FIN_WAIT_2”