Select some folder on the source peer, download the latest executable for both 32-bit and 64-bit versions and put it alongside powershell script.
1) Create a distribution job and name it, for example, Update Distribution Job
2) Select the source agent to put in the path to folder where Windows executables and powershell script are located.
3) Agent should have enough permissions to write and execute files at the destination path of the job. For example:
4) Put in after an agent completes downloading trigger
powershell -Executionpolicy bypass -Command "start-process -FilePath powershell.exe -ArgumentList '.\upgrade-resilio-agent.ps1'"
5) Save the job and run it.
If the agent not restarted or wasn't updated, check the jobs' destination folder and find the output.txt scripts' log there.