Skip to content

A set of scripts for cleaning, maintaining, configuring and optimizing Windows Server Update Services (WSUS).

License

Notifications You must be signed in to change notification settings

ezlage/WSUS-Toolkit

Repository files navigation

WSUS Toolkit

A set of scripts for cleaning, maintaining, configuring and optimizing Windows Server Update Services (WSUS).

Dependencies and Requirements

Usage Instructions

  • Optimize-WsusService.ps1: Performs a comprehensive set of WSUS optimization tasks

    # Offers the user to perform each of the recommended tasks
    .\Optimize-WsusService.ps1 -FirstRun
    # Disable and remove drivers 
    # Note: this will do a lot more things, see the "Remove-DriversFromWsus.ps1" script
    .\Optimize-WsusService.ps1 -DisableDrivers
    .\Optimize-WsusService.ps1 -DeepClean

    For more details, check out the original repository or the comments within the script itself. Keep in mind that the Optimize-WsusService.ps1 script is a modified version of Optimize-WsusServer.ps1 and has also been renamed.

  • Remove-DriversFromWsus.ps1: Removes drivers from WSUS

    # Manually supplied parameters
    
    .\Remove-DriversFromWsus.ps1 [-WsusServer <server-name-or-IP>] [-PortNumber <8530|8531>] [-UseSSL <$false|$true>]
    # Case without parameters, defaults to http://localhost:8530 without SSL/TLS
    
    .\Remove-DriversFromWsus.ps1
  • Set-WsusClientPointing.ps1: Enable or disable a client's pointing to WSUS

    .\Set-WsusClientPointing.ps1 -WsusEnabled <$false|$true> [-ComputerName <client-computer-name>] [-Credential <PSCredential>]

Roadmap and Changelog

This repository is based on and inspired by - but not limited to - Keep a Changelog, Semantic Versioning and the ezGTR template. Therefore, any changes made, expected or intended will be documented in the Roadmap and Changelog file.

Credits, Sponsorship and Licensing

Developed by Ezequiel Lage, Sponsored by Lageteck and Published under the MIT License.

Credits to AWARRE and DUMMVOLG for the original version and contribution to the Optimize-WsusService.ps1 script, formerly Optimize-WsusServer.ps1¹. Credit also to Liby Philip Mathew for the code that gave rise to the Remove-DriversFromWsus.ps1² script.

All suggestions, criticisms and contributions are welcome!

Support this initiative!

BTC: 1Nw2fzDgtXM5X219Q9VtJ7WaSTDPua3oe8
ERC20*: 0x089499f57ee20fd2c19f57612d9af69d645dff0d
* Any ERC20 token supported by Binance (ETH, USDC, USDT, etc)