Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell
Installing PowerShell - PowerShell | Microsoft Docs
PS C:\WINDOWS\system32> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.
PS C:\WINDOWS\system32> dism /online /cleanup-image /scanhealth
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Image Version: 10.0.18363.836
[==========================100.0%==========================] No component store corruption detected.
The operation completed successfully.
PS C:\WINDOWS\system32> dism /online /cleanup-image /restorehealth
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
Image Version: 10.0.18363.836
[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
PS C:\WINDOWS\system32> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection did not find any integrity violations.
PS C:\WINDOWS\system32> chkdsk /scan
The type of the file system is NTFS.
Stage 1: Examining basic file system structure ...
419840 file records processed.
File verification completed.
19391 large file records processed.
0 bad file records processed.
Stage 2: Examining file name linkage ...
65191 reparse records processed.
583226 index entries processed.
Index verification completed.
0 unindexed files scanned.
0 unindexed files recovered to lost and found.
65191 reparse records processed.
Stage 3: Examining security descriptors ...
Security descriptor verification completed.
81694 data files processed.
CHKDSK is verifying Usn Journal...
40260608 USN bytes processed.
Usn Journal verification completed.
Windows has scanned the file system and found no problems.
No further action is required.
116590591 KB total disk space.
100176040 KB in 266192 files.
224372 KB in 81695 indexes.
0 KB in bad sectors.
543763 KB in use by the system.
65536 KB occupied by the log file.
15646416 KB available on disk.
4096 bytes in each allocation unit.
29147647 total allocation units on disk.
3911604 allocation units available on disk.
PS C:\WINDOWS\system32> wmic recoveros set autoreboot = false
Updating property(s) of '\\DESKTOP-4IU087C\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Education|C:\\WINDOWS|\\Device\\Harddisk0\\Partition4"'
Property(s) update successful.
PS C:\WINDOWS\system32> wmic recoveros set DebugInfoType = 7
Updating property(s) of '\\DESKTOP-4IU087C\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Education|C:\\WINDOWS|\\Device\\Harddisk0\\Partition4"'
Property(s) update successful.
PS C:\WINDOWS\system32> wmic recoveros get autoreboot
AutoReboot
FALSE
PS C:\WINDOWS\system32> wmic recoveros get DebugInfoType
DebugInfoType
7
PS C:\WINDOWS\system32> bcdedit /enum {badmemory}
Invalid command line switch: /encodedCommand
Run "bcdedit /?" for command line assistance.
The parameter is incorrect.
PS C:\WINDOWS\system32>