Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to replace a command prompt with Windows PowerShell

2025-02-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Wouldn't it be nice to replace PowerShell with a command prompt in the start button of Windows 10? I know you have questions. Why are you doing this? You may lose the ability to run DOS commands. All right, let me explain. First, there is no such thing as DOS in the Windows operating system. Some people mistakenly call the DOS command prompt a command prompt. The command prompt is definitely not a DOS prompt. This is a Windows application that allows you to run the command-line tools we use to run in DOS. As far as you're worried about not being able to run command-line tools, don't worry, you can still run the most common commands, such as ipconfig,ping,arp,nbtstat,nslookup, etc. You can also copy and paste from the console as at the command prompt, start any application, stop and start the service, run the system File Checker (SFC), Chkdsk, and almost everything you run at the command prompt. I say it almost because you can't run commands in PowerShell, such as MD (create directory), RD (delete directory), PATH, etc.

The advantage of using PowerShell is that you can get the best of both worlds. You can run PowerShell, which you must do frequently if you are a technician, and you can still use the common commands used in the Command prompt window.

Here is how to replace the command prompt in Windows 10 with Windows PowerShell

1. In Windows 10, if you right-click the lower-left corner or press Windows + X, you will notice two links related to the command prompt. One is called the command prompt, and the other is called the command prompt (administrator).

two。 Right-click any blank area on the Windows 10 taskbar at the bottom of the screen and select Properties

3. On the navigation tab, check the box "Replace Command Prompt with Windows PowerShell in the menu when I right-click the lower left corner or press Windows key + X" and confirm

4. The command prompt is immediately replaced with the PowerShell prompt. There is no need to restart the computer or log out and log back in.

5. You can clear the box in step 3 above to quickly switch back to the command prompt.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report