Browse Source

v4.2 12.05.2020

## Updated
- Moved from the "Read-Host" cmdlet to $Host.UI.PromptForChoice().
- Updated "Create a task in the Task Scheduler to start Windows cleaning up";
  - A [toast notification](https://docs.microsoft.com/ru-ru/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts) will be activated before starting cleaning up;
  - Now cleanmgr.exe window starts minimized;
  - Now using DISM to clean up unused Windows updates instead of cleanmgr.exe
```cmd
DISM.exe /Online /English /Cleanup-Image /StartComponentCleanup /NoRestart
```
- Minor changes;
- Thanks [westlife](http://forum.ru-board.com/profile.cgi?action=show&member=westlife) for the tips;
- Also you can test [20H1 version](https://gist.github.com/farag2/5a6d9952247aefe42ba81a9d95507765).


## Обновлено
- Вместо командлета "Read-Host" используется $Host.UI.PromptForChoice();
- Обновлен раздел "Создать задачу в Планировщике задач по очистке обновлений Windows";
  - Перед запуском очистки активируется [всплывающее уведомление](https://docs.microsoft.com/ru-ru/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts);
  - Теперь окно cleanmgr.exe запускается вернутым;
  - Очистка ненужных обновлений теперь происходит с помощью DISM
```cmd
DISM.exe /Online /English /Cleanup-Image /StartComponentCleanup /NoRestart
```
- Незначительные изменения;
- Спасибо [westlife](http://forum.ru-board.com/profile.cgi?action=show&member=westlife) за подсказки;
- Также можете протестировать [версию 20H1](https://gist.github.com/farag2/5a6d9952247aefe42ba81a9d95507765).
pull/23/head 4.2
farag2 4 years ago
committed by GitHub
parent
commit
4411304288
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1206
      Win 10.ps1

1206
Win 10.ps1

File diff suppressed because it is too large
Loading…
Cancel
Save