discover 6 very practical functions at the command prompt

discover 6 very practical functions at the command prompt

The sinister black window of the Windows command prompt often frightens users. The fault is no doubt due to the bad television scenes which present this tool as an application exclusively reserved for hackers.

However, the command prompt, without being a crack of Windows, can provide many services on a daily basis. With the help of a few very simple commands, everyone can easily obtain the IP address of their Internet connection, check the stability of the network, or even obtain detailed information on the devices connected to the machine.

also discover on video:

To access the Windows command prompt, you can either search directly in the dedicated search field in the Start menu, or open the Execute command using the keyboard shortcut Windows + R, then enter cmd and validate to open the command prompt. Here are six Windows commands you need to know to operate the command prompt without being a pro.

1. Find your IP address and manage connection problems

If for some reason you have to find the IP address of your machine on the local network, the command prompt will allow you to get it in less time than it takes to say it.

Simply type ipconfig and validate. You will then see the IP address of your wireless network card or your Ethernet network card displayed, depending on your connection type.

You can also use the commands ipconfig / release (free your local IP address which is problematic), and ipconfig / renew (request a new local IP address) when you experience connection problems.

2. Display your Wi-Fi password

Lost your Wi-Fi connection password? You can easily find it using a command line.

At the Windows command prompt, type netsh wlan show profile SSID key = clear by replacing SSID with the name of the network to which you are connected on your network.

Your Wi-Fi network password should be displayed in clear text in Security settings, under the title Content of the key.

3. Schedule the shutdown of your PC

The command prompt allows you to program the shutdown of your machine. Ideal for letting a download finish, just enter the order shutdown -s -f -t xxx.

The s switches off the PC, the f forces the closing of jobs that you have not saved (and therefore bypasses the dialog boxes), the t adds a duration at the end of which the machine will steindra.

Simply replace xxx with the hard time in seconds after which you want your PC to steign.

If you want to shutdown your PC in an hour, you will use for example the command shutdown -s -f -t 3600.

4. Monitor the health of your PC battery

It is possible to generate a complete report on the state of health of your laptop PC with a simple command. type powercfg / batteryreport and validate.

The terminal will then create an autonomy report and save it in the directory C: Users NomDeVotrePC under the name of battery-report.html.

5. Get info on setting up your machine

The command prompt can be very useful for quickly finding information about the configuration of your machine.

Enter systeminfo in the command prompt and confirm. You should get a detailed configuration report for your machine.

6. Display your Windows license key

It is quite easy to find the Windows license key using a command line. Open the prompt, type wmic path softwarelicensingservice get OA3xOriginalProductKey and validate.

The command prompt should instantly display the license key for the version of Windows installed on your machine.