Contents
Method | DeployPatch |
---|---|
Module | Patch |
Library | Core |
Action | Deploy (i.e. download and by default install) the specified patch to this device. TBD Should this be renamed to just "Deploy" because "Patch.DeployPatch" seems a little tautological? |
Parameters |
Case is not significant.
Note For Windows, this is a comma-separated list of Knowledge Base article numbers. (See example below.) TBDs What is the result if the patch is not available or not applicable to the device? Is that an error or just quietly ignored (so the method could return success-no-content)?
This must be specified if If the path is specified it must be to a local CAB-file. Shared, i.e. remote, CAB-files are not supported by Windows Update Agent.
|
Return values | For each patch that was deployed:
|
Example | Patch.DeployPatch(Source:"SCCM", PatchSpec:"2267602"); |
Platforms |
|
Notes | Updates will be performed only if they do not require user input Reboot might be required before any patches can be installed, so the method will abort and return an error when this is true. |