Friday, May 04, 2012

My Note (Windows Command Line)

To see which port number is listening on specific server ip address
netsh interface ipv4 show tcpconnection remoteaddress=10.1.1.1 rr=1

To see user information (such as password last set, password expires, etc...)
net user hanlinag /domain

NET USER
[username [password | *] [options]] [/DOMAIN]
         username {password | *} /ADD [options] [/DOMAIN]
         username [/DELETE] [/DOMAIN]
         username [/TIMES:{times | ALL}]

No comments: