How to solve the Win10 system Powershell command failure?

  
In today's Win10 system usage, we will share a very useful tutorial in the future, that is: how to make it work again after the Powershell reset command fails. In the daily use of the win10 system, the Powershell reset is mainly used to fix the failure of most applications in the app store, but after the Powershell reset, the Powershell reset will also be invalid. Let's take a look at Win10's solution to use Powershell to reset application failures.

Command prompt
The specific method is as follows:
1, right click on the start button, select “ command prompt (admin) & rdquo;;
2, at the "Command prompt" In the ” in the following two commands to repair (can be directly copied and pasted, pay attention to retain spaces):
dism/online /cleanup-image /scanhealth
dism/online /cleanup-image /restorehealth
The above two commands must be executed in the order, that is, after entering the first line command, press the Enter key to execute; then enter the second line command and press the Enter key to execute.
The above is the solution for Win10 to use Powershell to reset the application failure. If the Powershell command fails, you can use the dism command to restore the application.

Copyright © Windows knowledge All Rights Reserved