DISM Image Repair in PowerShell
By: Cam Wohlfeil
Published: 2018-02-06 0000 EST
Category: Solutions
Tags:
powershell,
cmd
DISM has saved many an online image (i.e the one running on my PC) the past few years. Here's those commands in a much easier to remember PowerShell format.
# Dism.exe /Image:<...> /Cleanup-Image /ScanHealth
Repair-WindowsImage -ScanHealth
# Dism.exe /Image:<...> /Cleanup-Image /RestoreHealth
Repair-WindowsImage -RestoreHealth
More Info: