Inno-Tech's Administration ToolChest: WUS Tool and WSUS API Library
A library of UDFs (User Defined Functions) that allow you to interact with WSUS. This library consists of:
- wuCheckUpdateAgent()
- - Check the version of the update agent - update it if not current
- wuGetConfig()
- - Return an array containing the WSUS configuration
- wuSetConfig()
- - Set the WSUS configuration from an array of data
- wuRestartStatus()
- - Determine the Restart Pending status
- wuGetAvailableUpdates()
- - Return an array of available updates
- wuDownloadUpdates()
- - Download and optionally install updates
Also included in the download package is a script that utilizes this library. It will download and install patches on demand, based on this function library. This allows you to utilize WSUS servers for logging and reporting, but download and install those patches only when you decide. This is perfect for production application environments where changes are not permitted every week, and downloads of updates - even in the background - could affect application performance. Using WUS.KIX from a scheduled task allows precise control of when updates are applied without loss of WSUS reporting.