Looking for a script that can get & install wsus updates from windowsupdate, not the local wsus server


  • I'm looking for a script that can download wsus updates from Windowsupdate, from a client that has SCCM agent installed and is under control of a local WSUS server.

    I want to bypass WUServer. This can be done by change this key, but this requires a reboot, so this is not a solution.


    key: UseWUServer Value 1, change to 0 to bypass.


    I have a script that can du this by contacting the local WSUS server. But I need a way to download patches that aren't deployed om my SCCM 2007 server. I'm using the Powershell PSWindowsUpdate module.

    The updates I need to download is the Exchange block and anto-spam updates, that reuires freqquent update.

    I would like to do this with a schedules script.

    Friday, July 05, 2013 9:27 PM


  • solved: the trick wa sto use -MicrosoftUpdate instead og -windowsupdate

    Example: download and installs updates with the text "antispam" or "Block list" in the title description.



    "Block list"

    ForEach ($Up_dates in $UpDatestoInstall) {

    Get-WUInstall -MicroSoftUpdate -Accept -IgnoreUserInput -Verbose -Title $Up_Dates



    Monday, July 08, 2013 9:23 AM

All replies