Search, Download and Install Updates in Windows Server 2008 Server Core
This is a VBS script to Download and install all available updates. Before you attempt to run this sample, note the following: WUA must be installed on the computer. For more information about how to determine the version of WUA that is installed, see Determining the Current Version of WUA . The sample does not provide its own user interface. WUA prompts the user to restart the computer if an update requires a restart. The sample can download updates only by using WUA. It cannot download updates from a Software Update Services (SUS) 1.0 server. Running this sample requires Windows Script Host (WSH). For more information about WSH, see the WSH section of the Platform Software Development Kit (SDK). If the sample is copied to a file named WUA_SearchDownloadInstall.vbs, you can run the sample by opening a Command Prompt window and typing the following command at the command prompt. cscript C:\WUA_SearchDownloadInstall.vbs Script: ...