Command Prompt
The command prompt (cmd) is one of Windows' command line interfaces enabling users to interact with the operating system.
Commands
hostname
the hostname command outputs the computer name

whoami
outputs the name of the logged-in user
ipconfig
shows network address settings for the computer

/?
This command retrieves the help manual for any command in command prompt

netstat
displays protocol statistics and current TCP/IP network connections

net
primarily used to manage network resources, this command supports sub-commands. If you type net without a sub-command, the output will show the syntax for the root command showing a few of the sub-commands you can use.

For the net command, to display the help manual you need to use net help

To get the manual for subcommands, you use the help command with those as well. Example: net help user.

Last updated