You can programmatically launch a .bps file with a command like this:
batchpatch.exe “C:filesyourFile.bps”
You won’t be able to directly execute commands in BatchPatch from the powershell script, but you can set BP to start with the scheduler enabled (Tools > Settings > Startup options > Enable Task Scheduler on startup), and then it will execute whatever scheduled tasks you have configured in that .bps file.
Alternatively you may run BP as a service to ensure that scheduled tasks in BP execute regardless of whether or not someone is logged on to the computer. (Tools > Run BatchPatch as a service)
-Doug