Incorporating Powershell script in Actions and Tasks in ODM

Hi All,

I want run a powershell script during reacl process to attach few scheduled tasks on the source computer.How do we use the powershell script in tasks.It only loads a framework and if I put my script contents , it does not work,

Any example scripts which can be referred?