Tool: PowerShell ProTools EXE Packager / Visual Studio CODE Version: 5.17.1
I’ve one root ps1 file which calls other sub ps1 files using start-job -filepath … and argumentlist.
These sub ps1 files are not getting packaged into the exe.
I’d like to keep this structure as present.
$var = “.\plugin\sub1.ps1”
start-job filepath $var -argumentlist xyz
I’m not sure how to accomplish this, can somebody give me an example?