A Few Commands Every Windows User Should Know

Knowing a few basic Powershell commands can save you a lot of hassle, and even save you from having to re-install Windows.

To get into Powershell, just type ‘Powershell’ in the search box and you will see ‘Windows Powershell’ come up. Right click on that and select ‘Run As Administrator’. You will find yourself at the C;\Windows\System32 command prompt.

The first really usefull Powershell command to know is…

sfc /scannow

…which you type at the command prompt. This command checks that all your system files are OK and not corrupted. It takes a few minutes and will either say all is OK, or that there were issues it fixed, or…worst case…that there were issues it could not fix. That’s often the cause of issues that cause people to re-install Windows. But…you seldom do really need to reinstall windows. Instead, if you ever do have scannow give unfixable errors, or Windows seems screwed up, run this command…

DISM /Online /Cleanup-Image /RestoreHealth

Deployment Image Service and Management ( DISM ) will online generate a new Windows image on your computer. It will un-screw-up even the worst of Windows screw ups.


Thank you

@Altara_Zemara Awesome! Thank you :blush:

you dont need powershell for sfc /scannow - command prompt will do

Powershell is for scripting iterative or wildcard induced commands using pseudo code to control it. In a Domain it comes into its own.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.