Powershell-Tricks/Check-System-Files.md
efrick 82719d0189 Update Check-System-Files.md
Change the code block from shell to PowerShell for proper syntax highlighting.
2025-06-17 10:50:40 -04:00

11 lines
224 B
Markdown

# Check the System Files
Run the following commands from an elevated PowerShell prompt.
```PowerShell
DISM.exe /Online /Cleanup-image /Restorehealth
sfc /scannow
```
These commands should repair any damaged system files.