Windows Commands CheatSheet you needed
Tags: productivity, programming, webdev, beginners
Published: 2022-08-17 02:35:06

<small>
This is the Cheat Sheet of Windows Commands. It gives you all the commands and a short description of the command. I've also attached the documentation link for further reading. 

</small>


## What is Command Prompt in Windows? 

<small>
Command Prompt, also known as `cmd.exe` is a command line interpreter application on Windows Operating System.  It's used to execute entered commands.
</small>

## What are the CMD Commands? 
<small>
CMD Commands are the specific set of instructions given to Command Prompt to perform some kind of task or function on a Windows PC. Most of the Windows commands are used to automate tasks via scripts and batch files and perform advanced administrative tasks or functions. Many commands can help you troubleshoot and solve certain problems on windows.
</small>

## Windows Commands List



| Commands                                                                                                                                                | Functions                                                                                                                                                                                                                   |
| --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [arp](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/arp)                                                          | Displays and modifies the Internet-to-adapter address translation tables used by the Address in Networks and communication management                                                                                       |
| [assoc](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/assoc)                                                      | Displays or modifies file name extension associations                                                                                                                                                                       |
| [attrib](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/attrib)                                                    | Displays, sets, or removes attributes assigned to files or directories.                                                                                                                                                     |
| [bcdboot](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bcdboot)                                                  | Enables you to quickly set up a system partition, or to repair the boot environment located on the system partition                                                                                                         |
| [bcdedit](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bcdedit)                                                  | Used to manage boot configuration data                                                                                                                                                                                      |
| [bitsadmin](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bitsadmin)                                              | Used to manage the Background intelligent Transfer Service                                                                                                                                                                   |
| [break](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/break)                                                      | Enable/Disable break copability \`CTRL+C\` in CMD                                                                                                                                                                           |
| [cacls](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cacls)                                                      | Used to change permissions of files                                                                                                                                                                                         |
| [call](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/call)                                                        | Used one batch program to call another                                                                                                                                                                                      |
| [certreq](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/certreq_1)                                                | Used to request certificates from a certification authority                                                                                                                                                                 |
| [certutil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/certutil)                                                | Manage Certification Authority files and Services                                                                                                                                                                           |
| [cd](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cd)                                                            | Used to change directory or go to a specific one                                                                                                                                                                              |
| [chcp](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chcp)                                                        | Displays the number of active console code page                                                                                                                                                                             |
| [chdir](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chdir)                                                      | Same as cd command                                                                                                                                                                                                          |
| [chkdsk](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk)                                                    | Used to check and repair issues in the disk                                                                                                                                                                                  |
| [chkntfs](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/chkntfs)                                                  | Used to check the NTFS file system                                                                                                                                                                                          |
| [choice](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/choice)                                                    | Prompts the user to select one item from a list of single-character choices in a batch program, and then returns the index of the selected choice. If used without parameters, choice displays the default choices Y and N. |
| [cipher](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cipher)                                                    | Used to encrypt/decrypt file and folder                                                                                                                                                                                     |
| [cleanmgr](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cleanmgr)                                                | Used to clean temp files and recycle bin automatically                                                                                                                                                                      |
| [clip](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/clip)                                                        | Copy result of any command to windows clipboard                                                                                                                                                                             |
| [cls](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cls)                                                          | Clear CMD screen                                                                                                                                                                                                            |
| [cmd](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmd)                                                          | Used to start a new CMD shell                                                                                                                                                                                               |
| [cmdkey](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmdkey)                                                    | Creates, lists, and deletes stored user names and passwords or credentials.                                                                                                                                                 |
| [cmstp](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cmstp)                                                      | Used to install or remove a connection manage service profile                                                                                                                                                               |
| [color](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/color)                                                      | Change the color of the CMD shell using options                                                                                                                                                                             |
| [comp](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/comp)                                                        | Compare contents of two files or two sets of files                                                                                                                                                                           |
| [compact](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/compact)                                                  | Displays or alters the compression of files or directories on NTFS partitions                                                                                                                                               |
| [covert](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/convert)                                                   | Converts a disk from one disk type to another.                                                                                                                                                                              |
| [copy](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/copy)                                                        | Copy one or more files to another location                                                                                                                                                                                  |
| [date](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/date)                                                        | Displays or sets the system date.                                                                                                                                                                                           |
| [defrag](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/defrag)                                                    | Locates and consolidates fragmented files on local volumes to improve system performance.                                                                                                                                   |
| [del](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/del)                                                          | Deletes one or more files.                                                                                                                                                                                                  |
| [dir](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dir)                                                          | Used to display files and folder list                                                                                                                                                                                       |
| [diskpart](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/diskpart)                                                | helps you manage your computer's drives (disks, partitions, volumes, or virtual hard disks)                                                                                                                                 |
| [dispdiag](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dispdiag)                                                | Logs display information to a file.                                                                                                                                                                                         |
| [doskey](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/doskey)                                                    | Recalls previously entered command-line commands, edits command lines, and creates macros.                                                                                                                                  |
| [driverquery](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/driverquery)                                          | Display a list of installed device drivers and their properties                                                                                                                                                             |
| [echo](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/echo)                                                        | Displays messages or turns on or off the command echoing feature                                                                                                                                                            |
| [endlocal](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/endlocal)                                                | Ends localization of environment changes in a batch file                                                                                                                                                                    |
| [erase](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/erase)                                                      | Used to delete one or more file                                                                                                                                                                                             |
| [eventcreate](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/eventcreate)                                          | Enables an administrator to create a custom event in a specified event log                                                                                                                                                  |
| [exit](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/exit)                                                        | Exits the command interpreter or the current batch script.                                                                                                                                                                  |
| [expand](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/expand)                                                    | Expands one or more compressed files                                                                                                                                                                                        |
| [extrac32](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/extract)                                                 | Extracts files from a cabinet or source.                                                                                                                                                                                    |
| [fc](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fc)                                                            | Compares two files or sets of files and displays the differences between them.                                                                                                                                              |
| [find](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/find)                                                        | Searches for a string of text in a file or files, and displays lines of text that contain the specified string                                                                                                              |
| [findstr](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/findstr)                                                  | Searches for patterns of text in files                                                                                                                                                                                      |
| [finger](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/finger)                                                    | Displays information about users on a specified remote computer                                                                                                                                                             |
| [fondue](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fondue)                                                    | Enables Windows optional features by downloading required files from Windows Update or another source specified by Group Policy                                                                                             |
| [for](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/for)                                                          | Runs a specified command for each file, within a set of files                                                                                                                                                               |
| [forfiles](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/forfiles)                                                | Selects and runs a command on a file or set of files. This command is most commonly used in batch files                                                                                                                     |
| [format](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/format)                                                    | Format a disk to accept Windows files. You must be a member of the Administrators group to format a hard drive                                                                                                             |
| [fsutil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/fsutil)                                                    | File System utility to manage file and drive properties                                                                                                                                                                     |
| [ftp](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ftp)                                                          | Use FTP service to transfer files from one PC to another                                                                                                                                                                    |
| [ftype](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ftype)                                                      | Display/Modify file extensions type associations                                                                                                                                                                            |
| [getmac](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/getmac)                                                    | Used to display the MAC address of your network adapter                                                                                                                                                                     |
| [goto](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/goto)                                                        | Used to direct a batch program to a line identified by a label                                                                                                                                                              |
| [gpresult](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpresult)                                                | Display Group Policy Settings and Resultant Set of Policy for a user                                                                                                                                                        |
| [gpupdate](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/gpupdate)                                                | Updates Group Policy settings                                                                                                                                                                                               |
| [help](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/help)                                                        | Displays a list of the available commands or detailed help information on a specified command                                                                                                                               |
| [hostname](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/hostname)                                                | Displays the hostname portion of the full computer name of the computer                                                                                                                                                    |
| [icacls](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/icacls)                                                    | Displays or modifies discretionary access control lists (DACLs) on specified files, and applies stored DACLs to files in specified directories                                                                              |
| [if](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/if)                                                            | Performs conditional processing in batch programs                                                                                                                                                                           |
| [ipconfig](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ipconfig)                                                | Display and change windows IP Configuration                                                                                                                                                                                 |
| [klist](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/klist)                                                      | Displays a list of currently cached Kerberos tickets                                                                                                                                                                        |
| [ktmutil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ktmutil)                                                  | Starts the Kernel Transaction Manager utility                                                                                                                                                                               |
| [label](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/label)                                                      | Used to change the name of a disk                                                                                                                                                                                           |
| [lodctr](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/lodctr)                                                    | Allows you to register or save performance counter name and registry settings in a file and designate trusted services                                                                                                      |
| [logman](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/logman)                                                    | Used to manage performance monitor logs                                                                                                                                                                                     |
| [logoff](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/logoff)                                                    | Log a use off                                                                                                                                                                                                               |
| [makecab](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/makecab)                                                  | Package existing files into a cabinet (.cab) file                                                                                                                                                                           |
| [md](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/md)                                                            | Creates a directory or subdirectory                                                                                                                                                                                         |
| [mkdir](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mkdir)                                                      | Creates a directory or subdirectory                                                                                                                                                                                         |
| [mklink](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mklink)                                                    | Creates a directory or file symbolic or hard link                                                                                                                                                                           |
| [mmc](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mmc)                                                          | Access Microsoft Management Console                                                                                                                                                                                         |
| [mode](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mode)                                                        | Displays system status, changes system settings, or reconfigures ports or device                                                                                                                                            |
| [more](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/more)                                                        | Displays one screen of output at a time                                                                                                                                                                                     |
| [mountvol](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mountvol)                                                | Creates, deletes, or lists a volume mount point. You can also link volumes without requiring a drive letter                                                                                                                 |
| [move](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/move)                                                        | Moves one or more files from one directory to another directory                                                                                                                                                             |
| [msdt](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msdt)                                                        | Invokes a troubleshooting pack at the command line or as part of an automated script, and enables additional options without user input                                                                                     |
| [msiexec](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msiexec)                                                  | Provides the means to install, modify, and perform operations on Windows Installer from the command line                                                                                                                    |
| [msinfo32](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/msinfo32)                                                | Display system information                                                                                                                                                                                                  |
| [mstsc](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/mstsc)                                                      | Create a remote Desktop connection                                                                                                                                                                                          |
| [nbtstat](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/nbtstat)                                                  | Displays NetBIOS over TCP/IP (NetBT) protocol statistics                                                                                                                                                                    |
| [netcfg](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netcfg)                                                    | Installs the Windows Preinstallation Environment (WinPE), a lightweight version of Windows used to deploy workstations                                                                                                      |
| [net print](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/net-print)                                              | Displays information about a specified printer queue or a specified print job, or controls a specified print job                                                                                                            |
| [netsh](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netsh)                                                      | Display or modify network configuration                                                                                                                                                                                     |
| [net](https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/net-commands-on-operating-systems)                                    | Used to manage network resources and services                                                                                                                                                                               |
| [netstat](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/netstat)                                                  | Display active TCP/IP connections                                                                                                                                                                                           |
| [nslookup](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/nslookup)                                                | Displays information that you can use to diagnose Domain Name System (DNS) infrastructure                                                                                                                                   |
| [openfiles](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/openfiles)                                              | Queries or display open files                                                                                                                                                                                               |
| [path](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/path)                                                        | Set PATH environment variable for executable files                                                                                                                                                                          |
| [pathping](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pathping)                                                | Latency and packet loss info for each node in the network path                                                                                                                                                              |
| [pause](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pause)                                                      | Used to stop processing of a batch file                                                                                                                                                                                     |
| [perfmon](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/perfmon)                                                  | Access Performance monitor in CMD                                                                                                                                                                                           |
| [ping](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ping)                                                        | Test network connection to a computer                                                                                                                                                                                       |
| [pktmon](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pktmon)                                                    | Used for advanced packet capture and event collection, drop detection, filtering, and counting                                                                                                                              |
| [pnpunattend](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pnpunattend)                                          | Audits a computer for device drivers, and performs unattended driver installations, or searches for drivers without installing and, optionally, report the results to the command line                                         |
| [pnputil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pnputil)                                                  | Used to manage the driver store                                                                                                                                                                                             |
| [popd](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/popd)                                                        | Go to the latest path/folder stored by the PUSHD command                                                                                                                                                                        |
| [powerShell](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/powershell)                                            | Access Powershell                                                                                                                                                                                                           |
| [powerShell\_ise](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/powershell_ise)                                   | Windows PowerShell Integrated Scripting Environment (ISE) is a graphical host application that enables you to read, write, run, debug, and test scripts                                                                     |
| [print](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/print)                                                      | Used to print a text file from CMD                                                                                                                                                                                          |
| [powercfg](https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options)                               | Used to configure power settings and know battery health                                                                                                                                                                    |
| [prompt](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/prompt)                                                    | Displaying any text you want, such as the name of the current directory, the time and date, etc.                                                                                                                            |
| [pushd](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pushd)                                                      | Stores the current directory for use by the popd command, and then changes to the specified directory                                                                                                                       |
| [pwlauncher](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/pwlauncher)                                            | Enables or disables the Windows To Go Startup Options                                                                                                                                                                       |
| [rd](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rd)                                                            | Deletes a directory                                                                                                                                                                                                         |
| [recover](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/recover)                                                  | Recovers readable information from a bad or defective disk                                                                                                                                                                  |
| [ReFSUtil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/refsutil)                                                | ReFSUtil is a tool included in Windows and Windows Server that attempts to diagnose heavily damaged ReFS volumes                                                                                                            |
| [reg](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/reg)                                                          | Performs operations on registry subkey information and values in registry entries                                                                                                                                           |
| [regini](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/regini)                                                    | Modifies the registry from the command line or a script, and applies changes that were present in one or more text files                                                                                                     |
| [regsvr32](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/regsvr32)                                                | Registers .dll files as command components in the registry                                                                                                                                                                  |
| [relog](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/relog)                                                      | Extracts performance counters from performance counter logs into other formats, such as text-TSV (for tab-delimited text), text-CSV (for comma-delimited text), binary-BIN, or SQL                                          |
| [rem](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rem)                                                          | Records comments in a script, batch, or config.sys file. If no comment is specified, rem adds vertical spacing                                                                                                              |
| [ren](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ren)                                                          | Renames files or directories                                                                                                                                                                                                |
| [rename](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rename)                                                    | Renames files or directories                                                                                                                                                                                                |
| [replace](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/replace)                                                  | Replace existing files in a directory. If used with the \`/a\` option, this command adds new files to a directory instead of replacing existing files                                                                       |
| [rmdir](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rmdir)                                                      | Deletes a directory                                                                                                                                                                                                         |
| [robocopy](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/robocopy)                                                | Copies file data from one location to another                                                                                                                                                                               |
| [route](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/route_ws2008)                                               | Displays and modifies the entries in the local IP routing table                                                                                                                                                             |
| [rpcping](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rpcping)                                                  | Confirms the RPC connectivity between the computer running Microsoft Exchange Server and any of the supported Microsoft Exchange Client workstations on the network                                                         |
| [rundll32](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/rundll32)                                                | Loads and runs 32-bit dynamic-link libraries (DLLs)                                                                                                                                                                         |
| [rasdial](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/ff859533(v=ws.11))                      | Display Remote Access Service Status                                                                                                                                                                                        |
| [runas](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc771525(v=ws.11))                        | Run a program as different user                                                                                                                                                                                             |
| [sc](https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc754599(v=ws.11))                           | Use Service Controller to manage Windows services                                                                                                                                                                           |
| [schtasks](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks)                                                | Schedules commands and programs to run at a specific time                                                                                                                                                                   |
| [secedit](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/secedit)                                                  | Configures and analyzes system security                                                                                                                                                                                     |
| [set](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/set_1)                                                        | Displays, sets, or removes \`cmd.exe\` environment variables                                                                                                                                                                |
| [setx](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/setx)                                                        | Creates or modifies environment variables in the user or system environment, without requiring programming or scripting                                                                                                     |
| [sfc](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sfc)                                                          | Scans and verifies the integrity of all protected system files and replaces incorrect versions with correct versions                                                                                                        |
| [shift](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shift)                                                      | Changes the position of batch parameters in a batch file                                                                                                                                                                    |
| [shutdown](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/shutdown)                                                | Enables you to shut down or restart local or remote computers, one at a time.                                                                                                                                               |
| [sort](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sort)                                                        | Reads input, sorts data, and writes the results to the screen, to a file, or another device                                                                                                                              |
| [start](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/start)                                                      | Starts a separate Command Prompt window to run a specified program or command                                                                                                                                               |
| [subst](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/subst)                                                      | Associates a path with a drive letter                                                                                                                                                                                       |
| [sxstrace](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/sxstrace)                                                | Diagnoses side-by-side problems                                                                                                                                                                                             |
| [systeminfo](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/systeminfo)                                            | Displays detailed configuration information about a computer and its operating system                                                                                                                                       |
| [strings](https://docs.microsoft.com/en-us/sysinternals/downloads/strings)                                                                          | Find ANSI and UNICODE strings in binary files                                                                                                                                                                               |
| [takeown](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/takeown)                                                  | Used to take the ownership of a file                                                                                                                                                                                        |
| [taskkill](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/taskkill)                                                | Ends one or more tasks or processes                                                                                                                                                                                         |
| [tasklist](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tasklist)                                                | Displays a list of currently running processes on the local computer or a remote computer                                                                                                                                |
| [tcmsetup](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tcmsetup)                                                | Enable/Disable the TAPI client                                                                                                                                                                                              |
| [telnet](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/telnet)                                                    | Communicates with a computer running the telnet server service                                                                                                                                                              |
| [time](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/time)                                                        | Displays or sets the system time                                                                                                                                                                                            |
| [timeout](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/timeout)                                                  | Pauses the command processor for the specified number of seconds                                                                                                                                                            |
| [title](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/title)                                                      | Creates a title for the Command Prompt window                                                                                                                                                                               |
| [tpmtool](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tpmtool)                                                  | This utility can be used to get information about the Trusted Platform Module (TPM).                                                                                                                                        |
| [tpmvscmgr](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tpmvscmgr)                                              | The tpmvscmgr command-line tool allows users with Administrative credentials to create and delete TPM virtual smart cards on a computer                                                                                     |
| [tracerpt](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tracerpt)                                                | The tracerpt command parses Event Trace Logs, log files generated by Performance Monitor, and real-time Event Trace providers                                                                                               |
| [tracert](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tracert)                                                  | Trace route to a remote host by sending ICMP request messages                                                                                                                                                               |
| [tree](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tree)                                                        | Displays the directory structure of a path or of the disk in a drive graphically                                                                                                                                            |
| [type](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/type)                                                        | Displays the contents of a text file                                                                                                                                                                                        |
| [typeperf](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/typeperf)                                                | writes performance data to the command window or to a log file                                                                                                                                                              |
| [tzutil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/tzutil)                                                    | Displays the Windows Time Zone utility                                                                                                                                                                                      |
| [unlodctr](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/unlodctr)                                                | Removes Performance counter names and Explains text for a service or device driver from the system registry                                                                                                                  |
| [ver](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/ver)                                                          | Displays the operating system version number                                                                                                                                                                                |
| [verifier](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/verifier)                                                | Driver Verifier monitors Windows kernel-mode drivers and graphics drivers to detect illegal function calls or actions that might corrupt the system                                                                         |
| [verify](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/verify)                                                    | Verify whether files are saved correctly on the disk                                                                                                                                                                        |
| [vol](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/vol)                                                          | Displays the disk volume label and serial number                                                                                                                                                                            |
| [vssadmin](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/vssadmin)                                                | Show shadow copy backups, installed shadow copy writers and providers                                                                                                                                                       |
| [wbadmin](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wbadmin)                                                  | Enables you to back up and restore your operating system, volumes, files, folders, and applications from a command prompt                                                                                                   |
| [waitfor](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/waitfor)                                                  | Sends or waits for a signal on a system                                                                                                                                                                                     |
| [wecutil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wecutil)                                                  | Enables you to create and manage subscriptions to events that are forwarded from remote computers                                                                                                                           |
| [wevtutil](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wevtutil)                                                | Enables you to retrieve information about event logs and publishers                                                                                                                                                         |
| [where](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/where)                                                      | Displays the location of files that match the given search pattern                                                                                                                                                          |
| [whoami](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/whoami)                                                    | Displays user, group, and privileges information for the user who is currently logged on to the local system                                                                                                                 |
| [winrs](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/winrs)                                                      | Windows Remote Management allows you to manage and execute programs remotely                                                                                                                                                |
| [winrm](https://docs.microsoft.com/en-us/windows/win32/winrm/installation-and-configuration-for-windows-remote-management#where-winrm-is-installed) | Windows Remote Management                                                                                                                                                                                                   |
| [wmic](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wmic)                                                        | Displays WMI information inside an interactive command shell.                                                                                                                                                               |
| [wscript](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wscript)                                                  | Windows Script Host provides an environment in which users can execute scripts in a variety of languages that use a variety of object models to perform tasks                                                               |
| [xcopy](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/xcopy)                                                      | Copies files and directories, including subdirectories                                                                                                                                                                      |
| ::                                                                                                                                                  | Comment                                                                                                                                                                                                                     |

### Wrapping up

There are many more commands that I might have missed. If you enjoyed this article then don't forget to press ❤️ & **SAVE FOR LATER USE** ⌛. If you have any queries or suggestions don't hesitate to drop them. You can extend your support by [Buying me a Coffee](https://buymeacoffee.com/j471n)


**You might be interested in [JavaScript Cheat Sheet](https://dev.to/j471n/javascript-cheat-sheet-you-needed-2id)**