Repair-WindowsImage.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 29 Nov 2023 13:41:36 +0200
changeset 2573 89da04901f83
parent 2572 9390895f4164
child 2574 ed399b8e9fca
Repair-WindowsImage.
windows.rst
--- 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