Multiple ways to open Windows command line and Powershell window

method one

Search for cmd or powershell in the search bar in the lower left corner of Windows.

Use Windows' built-in search bar to search for cmd

You can also search for powershell

Enter or click to enter.

To run as an administrator, you can click "Run as Administrator" on the left, or right-click the "Command Prompt" or "Windows PowerShell" you want to run, and then click "Run as Administrator".

direct click or right click

Method Two

Use Win+R to bring up the running window, then enter cmd or powershell and press Enter.

Win+R calls the running window

Enter as above, or enter cmd, press Enter or click OK

method three

Right-click the start button in the lower left corner of the screen, and click Windows Powershell, Windows Powershell (Administrator) to run powershell.

The ones in parentheses are run as administrator.

Guess you like

Origin blog.csdn.net/m0_46948660/article/details/129672292
Recommended