Adding a script to OS Deployment Library?

Adding a script to OS Deployment Library?

I'm trying to puzzle out how to add a PowerShell script and dependencies for use during OS deployment.

I see that the Add Applications page specifically refers to .exe files, although the documentation/user guide makes it seem scripts should be doable.


If PowerShell .ps1 scripts can be ran, what would the syntax look like?
I.E. would it be powershell.exe -executionpolicy bypass -file .\myscriptfile.ps1 ??

                New to ADSelfService Plus?