Showing posts with label WSUS. Show all posts
Showing posts with label WSUS. Show all posts

Sunday, February 17, 2019

Clearing the Synchronization history in the WSUS console


When you using WSUS for a long time and go into admin console to the Synchronization node - it loads very long time.
I’m talking about:


You can clean the WSUS synchronization history from database.

Tuesday, August 7, 2018

Automate WSUS Server Cleanup on Windows Server 2016 with PowerShell

I had a task to automate wsus server cleanup on windows server 2016.
For this task I used one windows server 2016 powershell command

Invoke-WsusServerCleanup

Invoke-WsusServerCleanup performs the process of cleanup on a specified WSUS server. This process has the same impact as running the Cleanup Wizard from the WSUS Console and allows the specification of the same options as Cleanup Wizard.

In my case I added tasks in Task Scheduler on WSUS Server to run powershell with command:

Task 1. 
Name: WSUS-Cleanup
Task running: Weekly
Description: Cleanup obsolete computers and obsolete updates, delete unneeded updates and obsolete revisions to updates, declines expired updates, declines superseded updates
Command:

[PS]Get-WsusServer | Invoke-WsusServerCleanup -CleanupObsoleteComputers -CleanupObsoleteUpdates -CleanupUnneededContentFiles -CompressUpdates -DeclineExpiredUpdates -DeclineSupersededUpdates


Task 2.
Name: WSUS-Cleanup-Computers 
Task running: Daily
Description: Cleanup for obsolete computers
Command:

[PS]Get-WsusServer | Invoke-WsusServerCleanup -CleanupObsoleteComputers



Thursday, August 10, 2017

Set Windows Update settings using SCONFIG

Type in command prompt
sconfig


Option #5 shows the current configuration of your Windows Update settings
 

Wednesday, July 12, 2017

Import Updates to WSUS from Microsoft Update Catalog

I want to show the ability to add updates to the WSUS in the example on KB4012598.
Open the WSUS console.
Select Import Updates

 

Імпорт поновлень до WSUS з Microsoft Update

Хочу показати можливість додавання поновлень до WSUS на прикладі KB4012598.

Відкриваємо консоль WSUS.
Виберіть Import Updates