The first command downloads the latest version of WhiteSource Unified Agent jar file to the job folder.
The second command downloads the latest version of WhiteSource Unified Agent configuration file to the job folder.
The third command runs the Jar with regular command-line arguments of the Unified Agent.
Notice on periodically fetching the Unified Agent
It is advised to use the above PowerShell commands only once a week to download the latest version of the Unified Agent for performance reasons and not as part of every build. You can do this using a scheduler task, such as cron.