tree > directory.txt  (creates a directory tree of the current directory in a text file named directory.txt)

tree /F > directory.txt  (creates a directory tree plus all files and extensions of the current directory in a text file named directory.txt)

use && between command to do multiple commands at once. (string commands together)

tasklist | find “notepad” (only lists the notepad task)

wmic RDToggle where servername=”2k3target” call SetAllowTSConnections 1 (enable RDP from the command line)

Attrib ,  (removes all file attributes)

echo “help me dude” >> help.txt   appends the text “help me dude” to the end of the text file help.txt

HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionDNS ServerZones (the registry key that needs to be exported then imported to another machine to enable the manual command line creation of new zones)

Asc query (services registered) sc query | hack (query services that have the word hack in them)