감사합니다.
Powershell - WSUS Cleanup powershell 본문
WSUS 서버에서 오래된 업데이트를 정리해주지 않으면 디스크 용량이 계속해서 늘어나게 된다.
파워쉘 명령어를 스케줄러에 등록해서 주기적으로 정리해주는 것이 좋다.
Get-WsusServer | Invoke-WsusServerCleanup -CleanupObsoleteComputers -CleanupObsoleteUpdates -CleanupUnneededContentFiles -CompressUpdates -DeclineExpiredUpdates -DeclineSupersededUpdates
<참고 - WSUS 서버 정리 마법사>
서버 정리 마법사를 사용하지 않는 이유는 UI에서 실행할 때 크래시가 발생하여 정상적으로 정리되지 않기 때문이다.
'Microsoft > Powershell' 카테고리의 다른 글
Windows Update 자동화하기 - Part 3 (0) | 2018.09.29 |
---|---|
Windows Update 자동화하기 - Part 2 (1) | 2018.09.29 |
Windows Update 자동화하기 - Part 1 (0) | 2018.09.29 |
Powershell : 도메인 가입하기 (0) | 2018.03.22 |
Powershell : Invoke-Command 정리(Powershell Ver 6) (0) | 2018.01.12 |
Powershell - 스케줄러에 파워쉘 스크립트 등록하기 - 변수 사용 (0) | 2017.12.07 |
Powershell - 스케줄러에 파워쉘 스크립트 등록하기 (0) | 2017.12.01 |
Powershell - Event Log Parsing (0) | 2017.11.30 |