Repair-WindowsImage.
--- a/windows.rst Tue Nov 14 18:42:00 2023 +0200
+++ b/windows.rst Wed Nov 29 13:41:36 2023 +0200
@@ -93,6 +93,12 @@
dism /Online /Cleanup-image /Scanhealth
dism /Online /Cleanup-Image /RestoreHealth
+Alternative cmdlet in PowerShell::
+
+ Repair-WindowsImage -Online -RestoreHealth
+ Repair-WindowsImage -Online -CheckHealth
+ Repair-WindowsImage -Online -ScanHealth
+
If Windows Update is broken you can provide path::
dism /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess