Skip to content

Commit

Permalink
Released v3.1.0
Browse files Browse the repository at this point in the history
# Start-WindowsCleanup release history

## 3.1.0 - 2023-07-13

* Added `TiWorker` process priority as `High`, requested per [Increase TiWorker.exe CPU priority](#11)
  • Loading branch information
Ioan-Popovici committed Jul 13, 2023
1 parent 3e75b87 commit 2d939e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions Scripts/PowerShell/Start-WindowsCleanup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Start-WindowsCleanup release history

## 3.1.0 - 2023-07-13

* Added `TiWorker` process priority as `High`, requested per [Increase TiWorker.exe CPU priority](https://github.com/MEM-Zone/MEM.Zone/issues/11)

## 3.0.1 - 2021-11-19

* Fixed a typo in the `childpath` parameter form the `Remove orphaned CCM cache items` @asg2ki (Pull Request)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -958,13 +958,17 @@ Function Start-WindowsCleanup {

## Start Component Cache Repair
Show-Progress -Status 'Running Component Cache Repair. This Can Take a While...' -Loop
Start-Process -FilePath 'DISM.exe' -ArgumentList '/Online /Cleanup-Image /RestoreHealth' -WindowStyle 'Hidden' -Wait
Start-Process -FilePath 'DISM.exe' -ArgumentList '/Online /Cleanup-Image /RestoreHealth' -WindowStyle 'Hidden'
Get-Process -Name 'TiWorker' | ForEach-Object { $PSItem.PriorityClass='High' }
Wait-Process -Name 'DISM'
}
'comCacheCleanup' {

## Start Component Cache Cleanup
Show-Progress -Status 'Running Component Cache Cleanup. This Can Take a While...' -Loop
Start-Process -FilePath 'DISM.exe' -ArgumentList '/Online /Cleanup-Image /StartComponentCleanup /ResetBase' -WindowStyle 'Hidden' -Wait
Start-Process -FilePath 'DISM.exe' -ArgumentList '/Online /Cleanup-Image /StartComponentCleanup /ResetBase' -WindowStyle 'Hidden'
Get-Process -Name 'TiWorker' | ForEach-Object { $PSItem.PriorityClass='High' }
Wait-Process -Name 'DISM'
}
'volCacheCleanup' {

Expand Down

0 comments on commit 2d939e5

Please sign in to comment.