Important Windows Commands
C:\hostname - The hostname command is used to show or set a computer's host name and domain name.
C:\getmac - Retrieves MAC address (info on Ethernet card)
arp -a - Maps internet addresses to hardware addresses
C:\arp -s <ip address><MAC address> - Adds a static ARP entry
C:\arp -d <ipaddress> - Delete a static ARP entry
C:\<Desired Destination>mkdir <directory name> - Create a directory
C:\<Directory Destination>cd<directory name> - Change directory
C:\<Directory Destination>echo <desired output> > file.filetype - Print output to desired file type
C:\ipconfig - Displays IP information
C:\ipconfig -all - Details all IP info with adapters and associated IPs
C:\ipconfig /release - Releases current IP address to get a new one (DHCP)
C:\ipconfig /renew - Gets a new IP (DHCP)
C:\netstat - Shows all basic networking information
C:\netstat -an - Shows all ports on network card
C:\taskmgr - Opens the task manager
C:\tasklist - Shows all ports on network card
C:\<Directory Destination>tasklist > <output name.txt> - Writes the tasklist to a txt file
C:\tasklist | findstr <service/process name> - Finds desired service/process in task manager
C:\taskkill / PID <Process Number> / -F - Force kill of a process
C:\net user <username> <password> / ADD - Add new user
C:\net user <password> * - Resets password
Comments
Post a Comment