It is very easy to use the CMD on your computer device. But it takes time to learn the execution queries within it. However, the lengthy commands of the CMD take more time to remember, but they will help with the various troubleshooting tasks.
For example, you can make your PC shut down with a command prompt query or make the partition with your primary disk to get help managing your content easily.
There are many other queries that you were overground here, but make sure to run every command properly to take the best possible outcomes.
Open Command Prompt as administrator, then type shutdown /r and press Enter. Your computer will restart after a short warning, giving you time to save work.
To restart your computer using CMD, open Command Prompt as administrator and type shutdown /r /f /t 0, then press Enter. This command forces all apps to close and restarts the computer immediately without delay.