How to execute a .ps1 file as a Batch task

SUGGESTED

Hi everyone, 

We have the following situation:

We will like to use a .ps1 (PowerShell File) as a Batch task in order to avoid the Windows Task Scheduler. We have found this in X3 help 

 

Should we compile the script to convert it in a .src file? 

Thanks in advance,

Juan Diaz.