Syntax
Sync-Patch [-Server <VIServer[]>] [-RunAsync] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet downloads new patches into the Update Manager patch repository from the enabled patch download sources.Parameters
Return Type
VMware.VumAutomation.Types.Patch[] or VMware.VimAutomation.Types.TaskNotes
Examples
-------------- Example 1 --------------
Sync-Patch
Downloads all new patches from the preconfigured metadata download URL address (www.vmware.com).
-------------- Example 2 --------------
$task = Sync-Patch -RunAsync
Initializes download of new patches and returns a Task object. To manage the Task object, use the vSphere PowerCLI cmdlets Get-Task, Wait-Task, and Stop-Task.