From 121106cf716f6939e5c15f51c2d74f6552e2dd2c Mon Sep 17 00:00:00 2001 From: KammM Date: Mon, 29 Jan 2024 13:00:51 +0100 Subject: [PATCH] Add: Maintain-Windows.ps1 --- current/Maintain-Windows/Maintain-Windows.ps1 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 current/Maintain-Windows/Maintain-Windows.ps1 diff --git a/current/Maintain-Windows/Maintain-Windows.ps1 b/current/Maintain-Windows/Maintain-Windows.ps1 new file mode 100644 index 0000000..93bfc8d --- /dev/null +++ b/current/Maintain-Windows/Maintain-Windows.ps1 @@ -0,0 +1,8 @@ +Dism /Online /Cleanup-Image /ScanHealth +Dism /Online /Cleanup-Image /CheckHealth +Dism /Online /Cleanup-Image /RestoreHealth +sfc /scannow + +Dism /online /Cleanup-Image /StartComponentCleanup +Dism /online /Cleanup-Image /StartComponentCleanup /ResetBase +cleanmgr \ No newline at end of file