These commands are ones that I’ve used pretty regularly over the years and in PowerShell.
charmap | Character Map |
chkdisk | Repair disk utility |
dcdiag | Domain Controller Diagnostic which runs on a Windows Server, I generally use it with the following switches: dcdiag /c /v /e /q For more information about the switches use dcdiag /? |
gpupdate /force [/target:[user|computer]] | Group Policy update immediately for that user / computer |
gpresult /R | Get the results of the last group policy update that occurred whether forced using gpupdate or result of the group policy update interval. This is from the user’s context only, for a more complete report use gpresult /h /c:\[pathtofile]\[reportname].html |
ipconfig [/all] | Display IP Configuration for all network adapters. |
netstat | Display all active network connections |
nslookup | returns your local DNS server, if you add a domain name it will resolve it to it’s IP Address if your local DNS server can resolve it. |
odbcad32 | ODBC Data Source Administrator |
powercfg.exe -h off | Turn off hibernation. Administrative CMD prompt required |
regedit | Registry Editor, be sure to Export any registry keys / values before you make changes just in case. |
sfc /scannow | In the event you feel some windows system files may have been corrupted or something is wrong with Windows you can run this to fix any system files. |
systeminfo | Displays various system information in the text console. Provides quite a bit of information in one place, like Operating System version, last boot time, hotfixes applied, and memory information among other things. |
taskkill | Kill processes in command-line interface, provide PID. |
tracert [-d] FQDN or IP | Trace the route your computer takes to reach an network host, excellent tool for troubleshooting networking issues. |
You can find a complete comprehensive list from Windows commands | Microsoft Learn
Also see Windows Environment Variables – Windows CMD – SS64.com which is an excellent resource.