| | 1 | = Shavlik = |
| | 2 | |
| | 3 | Shavlik is a Patch Management tool for Windows, see http://www.shavlik.com. |
| | 4 | |
| | 5 | = Initiate patching from comamnd line = |
| | 6 | |
| | 7 | We like to update a Client until all pachtes are applied. |
| | 8 | Unfortunaly, tihs is not intended using Shavlik. This is, what we have tried: |
| | 9 | |
| | 10 | == stAgentManagement.exe == |
| | 11 | |
| | 12 | {{{ |
| | 13 | cd "C:\Program Files (x86)\LANDesk\Shavlik Protect Agent\" |
| | 14 | |
| | 15 | # get infos |
| | 16 | STAgentManagement.exe -diag |
| | 17 | |
| | 18 | # view log |
| | 19 | STAgentManagement.exe -viewlog -log ST.PatchLog |
| | 20 | |
| | 21 | # see schedule |
| | 22 | STAgentManagement.exe -schedule |
| | 23 | |
| | 24 | # start path and wait for result (it says, patching is started, but is is completed immediatly) |
| | 25 | STAgentManagement.exe -start -engine ST.PatchScan -op ST.PatchScan.Scan -watch |
| | 26 | |
| | 27 | # working |
| | 28 | STAgentManagement.exe -start -engine "2209c768-023a-49de-a848-cb175f8ec5f9" -op a773a3e7-2d34-4714-bea6-e0e7d8ebeb0d -param "tasks/a773a3e7-2d34-4714-bea6-e0e7d8ebeb0d_Start task.xml" |
| | 29 | |
| | 30 | STAgentManagement.exe -start -engine ST.PatchScan -op ST.PatchScan.Scan -param "tasks/a773a3e7-2d34-4714-bea6-e0e7d8ebeb0d_Start task.xml" -watch |
| | 31 | }}} |
| | 32 | |
| | 33 | === Parameter / Policy === |
| | 34 | Parameter are provided in the policy. Policy can be found at "C:\ProgramData\LANDesk\Shavlik Protect\Agent\Policy.zip" |
| | 35 | |
| | 36 | Inside Policy.zip: UITaskMap.xml |
| | 37 | |
| | 38 | {{{-param "tasks/a773a3e7-2d34-4714-bea6-e0e7d8ebeb0d_Start task.xml"}}} refers to the file "{{{tasks/a773a3e7-2d34-4714-bea6-e0e7d8ebeb0d_Start task.xml}}}" inside Policy.zip. |
| | 39 | |
| | 40 | Still missing: how to detect, if all updates are installed and/or reboots are needed. |