POWERSHELL FOR BEGINNERS ONLY WINDOWS 10 POWERSHELL SHORTS COGENT AND CONCISE WIN KEY AND X TOGETHER PRESS WIN KEY AND X TO RETURN TO AN EARLIER RESTORE POINT, INTER ALIA PRESS WINDOWS KEY AND X TOGETHER TO ENTER ADMIN POWERSHELL press the Windows + X shortcut key combination SEE RESTORE POINTS: Get-ComputerRestorePoint MAKE A RESTORE POINT: CREATE RESTORE POINT VIA CMD ADMIN To create a restore point in Windows 10 using the command line, open an elevated Command Prompt and type the following command: "systempropertiesprotection.exe". systempropertiesprotection.exe DO A SCAN DISK: HERE: CHECK DISK chkdsk C: /f /r OR, BETTER echo y|chkdsk C: /f/r shutdown /r DO A DISK DEFRAG: Examples: Defrag C: /U /V Defrag C: D: /TierOptimize /MultiThread Defrag C:\mountpoint /Analysis /U Defrag /C /H /V DO A SYSTEM FILE CHECKER SFC /scannow SFC /scannow ALSO: dism /online /cleanup-image /checkhealth ALSO: dism /online /cleanup-image /Restorehealth /source:repairsource\install.wim ALSO: systemreset -cleanpc ALSO: dism /online /cleanup-image /checkhealth ALSO: dism /online /cleanup-image /Restorehealth /source:repairsource\install.wim DISM.exe /Online /Cleanup-image /Restorehealth dism /online /cleanup-image /Restorehealth /source:repairsource\install.wim OR, SFC /scannow SFC /scannow systemreset -cleanpc CLEAR DNS CACHE ipconfig /flushdns open the Security Policy Editor, which configures the Local Security Policies for the machine. To do this, click on the Start button and then type secpol.msc open the Group Policy Editor instead by using the command gpedit.msc Apply group policies: 1. Set telemetry level to 0 = security. Press WIN+R key and type gpedit.msc <enter> to run the editor Configure the policy value for Computer Configuration >> Administrative Templates>>Windows Components >> Data Collection and Preview Builds>> "Allow Telemetry" to "Enabled" with "0 - Security [Enterprise Only]" selected in Options.
What part of this tutorial is specific to PS (except for "powershell Get-ComputerRestorePoint"), and doesn't run in CMD? This line doesn't work in PS: Code: echo y|chkdsk C: /f/r