Configure WSUS Replica Server using Powershell command RRS feed

  • Question

  • Hi,

    If one wanted to Configure WSUS Replica Server using GUI, there is an option to do it both during configuration and later in the Options menu:


    Now, if I wanted to do it from Powershell, there seems to be one command Set-WsusServerSynchronization that can be used for this purpose.

    So to sync with an upstream WSUS one could use:

    Set-WsusServerSynchronization -UssServerName "Test" -PortNumber 42 -UseSSL

    Then to sync with Microsoft Update:

    Set-WsusServerSynchronization -SyncFromMU

    But when I wanted designate server as replica I'm not sure which of the command to use:


    -UpdateServer (downstream?)

    -UssServerName (upstream?)


    I'm not sure if I have to use all of them or just:

    Set-WsusServerSynchronization -updateserver - replica

    I'd like to hear from some Powershell vets to shed some light on it.

    Thanks in advance!

    Thursday, May 30, 2019 1:37 PM

All replies