Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Set-WsusServerSynchronization

Set-WsusServerSynchronization

microsoft.updateservices.commands.dll

Synopsis

Sets whether the Windows Server Update Services (WSUS) server synchronizes from Microsoft Update, or an upstream server and the upstream server properties.

Syntax

Set-WsusServerSynchronization [-PortNumber] [-Replica] [-UpdateServer] [-UseSsl] [-UssServerName] [-Confirm] [-WhatIf] [<CommonParameters>]

Set-WsusServerSynchronization [-UpdateServer] [-SyncFromMU] [-Confirm] [-WhatIf] [<CommonParameters>]

Detailed Description

The Set-WsusServerSynchronization cmdlet sets whether the Windows Server Update Services (WSUS) server synchronizes from Microsoft Update or an upstream server. This cmdlet allows the user to specify settings such as the upstream server name, the port number, and whether or not to use Secure Sockets Layer (SSL).

Parameters

-PortNumber <Int32>

Specifies the port number to use to communicate with the upstream WSUS server.

Aliases

None

Required?

false

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Replica <SwitchParameter>

Specifies whether the WSUS server is a replica server.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-SyncFromMU <SwitchParameter>

Specifies that the WSUS server synchronizes updates from Microsoft Update.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-UpdateServer <IUpdateServer>

Specifies the object that contains the WSUS server. This value is obtained by calling the Get-WsusServer cmdlet and piping the resulting IUpdateServer object into this cmdlet.

Aliases

Server

Required?

false

Position

named

Default value

None

Accept pipeline input?

true (ByValue)

Accept wildcard characters?

false

-UseSsl <SwitchParameter>

Specifies that the WSUS server should use Secure Sockets Layer (SSL) via HTTPS to communicate with an upstream server.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-UssServerName <String>

Specifies the name of a local server from which to synchronize updates.

Aliases

None

Required?

true

Position

named

Default value

None

Accept pipeline input?

false

Accept wildcard characters?

false

-Confirm <SwitchParameter>

Prompts you for confirmation before running the cmdlet.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

-WhatIf <SwitchParameter>

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Aliases

None

Required?

false

Position

named

Default value

false

Accept pipeline input?

false

Accept wildcard characters?

false

Input Type

Microsoft.UpdateServices.Commands.IUpdateServer

Return Type

None

Notes

None

Examples

EXAMPLE 1

This example specifies that the local WSUS Server is to synchronize from another server named Test using port number 42 and the SSL protocol.

PS C:\> Set-WsusServerSynchronization -UssServerName Test -PortNumber 42 -UseSSL

EXAMPLE 2

This example specifies that the local WSUS Server is to synchronize from Microsoft Update.

PS C:\> Set-WsusServerSynchronization -SyncFromMU
The Update Server was successfully configured with the following parameters: Synchronize from Microsoft Update

Online Version
Get-WsusServer