Helpful Commands

Just a list of simple commands that come in handy from time to time....

To view the ports which are listening on a host.
netstat -ano | findstr LISTENING

To find the Domain Controller used by a host
set l

To find time information.
w32tm /query /status

To determine if a port is open on a remote server
telnet server.domain.com 902

Find server info (ex. OS, uptime, logon server etc)
systeminfo

No comments:

Post a Comment