Start-SCUpdateServerSynchronization

Intiates a syncrhronization between the VMM update server and WSUS.

Description

The Start-SCUpdateServerSyncronization cmdlet intiates a syncrhronization between the System Center Virtual Machine Manager (VMM) update server and Windows Server Update Services (WSUS). 

The first time this sychronization runs, it imports the full WSUS update catalog into VMM. On subsequent synchronizations, an incremental import is performed by default. However, you can force a full catalog import at any time by using Start-SCUpdateServerSynchronization with the ForceFullUpdateCatalogImport parameter.

For more information about Start-SCUpdateServerSynchronization, type: "Get-Help Start-SCUpdateServerSynchronization -online".

Parameters

UpdateServer

Required? true
Accept Pipeline Input? true (ByValue)
Position? 0
Specifies a VMM update server object.

ForceFullUpdateCatalogImport

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the VMM update server will import the full update catalog from Windows Server Update Services. On subsequent synchronizations, an incremental import of the catalog is the default import.

JobVariable

Required? false
Accept Pipeline Input? false
Position? named
Specifies that job progress is tracked and stored in the variable named by this parameter. 

PROTipID

Required? false
Accept Pipeline Input? false
Position? named
Specifies the ID of the PRO tip that triggered this action. This allows for auditing of PRO tips.

RunAsynchronously

Required? false
Accept Pipeline Input? false
Position? named
Indicates that the job runs asynchronously so that control returns to the command shell immediately. 

VMMServer

Required? false
Accept Pipeline Input? true (ByValue)
Position? named
Specifies a VMM server object.

Examples

1: Start an update server synchronization.
PS C:\> $UpdateServer = Get-SCUpdateServer -ComputerName "WSUSComputer01"
PS C:\> Start-SCUpdateServerSynchronization –UpdateServer $UpdateServer
The first command gets the update server object named WSUSComputer01 and stores the object in the $UpdateServer variable.

The second command starts synchronization between WSUSComputer01 and Microsoft Update.
2: Force a full import of the Microsoft Update Catalog.
PS C:\> $UpdateServer = Get-SCUpdateServer -ComputerName "WSUSComputer01"
PS C:\> Start-SCUpdateServerSynchronization –UpdateServer $UpdateServer –ForceFullUpdateCatalogImport
The first command gets the update server object named WSUSComputer01 and stores the object in the $UpdateServer variable.

The second command starts synchronization between WSUSComputer01 and Microsoft update, specifying that the full catalog is imported.

See Also