This site in other countries/regions:

Microsoft Download Center

Microsoft

Windows Server Update Services 3.0 SP2 Samples with Visual C# 2010

Quick links

WSUS 3.0 SP2 Samples with Visual C# 2010

Quick details

Version: 3.0 SP2 Date Published: 9/15/2010
Language: English
File Name Size
Update Services 3.0 SP2 Visual CSharp Samples.exe 401 KB Download

Overview

The download consists of a single executable. Once you have run it and accepted the EULA, a Windows compressed folder will be installed to the specified folder. That folder will contain the following Visual C# sample projects:

  • ApproveUpdatesForOptionalInstall - 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 - Removes computers from the WSUS server that have not contacted the server in a specified number of days.
  • DetermineAllApprovedUpdates - 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.
  • DetermineOutOfComplianceComputers - Creates an HTML file with a list of all "out of compliance" computers - computers with an UpdateInstallationState of Failed, Downloaded, or NotInstalled.
  • DetermineStatusForAllUpdates - Creates an XML file with a list of updates, with update status for each computer client.
  • DetermineUpdateStatusForAllComputers - 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.
  • GetUpdateDetails - Creates an XML file with a list of updates and information about each update, including ID, title, description, KB articles, etc.
  • IdentifyComputersNeedingReboot - Creates an HTML report that lists computers that have installed updates, but still require a reboot to be fully patched.
  • ListApprovedUpdatesSince - 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

Top of pageTop of page

System requirements

Supported Operating Systems: Windows Server 2008 R2, Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 for Itanium-based Systems, Windows Server 2008 R2 Foundation, Windows Server 2008 R2 SP1, Windows Server 2008 R2 Standard

Windows Server 2008 R2 or later, Windows Server 2008 SP1 or later, Windows Server 2003 SP2 or later, Visual Studio 2010

Top of pageTop of page

Instructions

See readme for installation and package content details.

Top of pageTop of page