A nice collection of tools and API samples for use with WSUS 3.0:
ADImporter
This tool allows you to pre-populate target groups with computers from Active Directory. The sample application connects to the default Active Directory domain controller, and lists the OUs and computers in the domain. It also lists the computer groups available on the WSUS server. Using this sample, you can select computers from Active directory and "register" the selected computers with Update Services. Note that each computer registered must be configured to talk to the WSUS server independently of using this tool.
ApprovedUpdatesToXML
Creates an XML file with a list of approved updates and details of their approval including the groups that the update is approved for, and the approval action.
ApproveForOptionalInstall
Approves a specified update for "optional install". This causes the update to be registered in the "Add/Remove Programs" Control Panel applet (also known as "Programs And Features" in Windows Vista) of the client machine. The user can choose to install the update using the Add/Remove Programs Control Panel applet.
CleanStaleComputers
This sample application removes computers from the WSUS server that have not contacted the server in a specified number of days.
ComputerStatusToXML
Creates an XML file with a list of computers on the WSUS server, and the status of the updates approved for each computer. The list can optionally include computers that are rolled up from downstream WSUS servers.
ComputersNeedingReboot
Creates an HTML report that lists computers that have installed updates, but still require a reboot to be fully patched
ListApprovedUpdates
Displays a list of updates that have been approved after a specified date and also creates a text report that lists the updates.
UpdateStatusToCSV
Creates a simple CSV file with a list of approved updates and a summary of the status of the updates on each computer
UpdateStatusToXML
Creates an XML file with a list of updates, with update status for each computer client.
UpdatesToXML
Creates an XML file with a list of updates and information about each update, including ID, title, description, KB articles etc.
WsusMigrate
WSUS Migration Tools can assist in migrating update approvals and target groups from one WSUS server to another. See the ReadMe under the WsusMigrate folder for more information on these tools.
Download from
here.