When I specify a working directory, PSF looks for StartingScriptWrapper.ps1 in that working directory.
I would like it to ALSO check the package root if the script does not exist in the working directory.
Why?
Because my working directory is a drivemapping, which is mapped by the startup script, and thus isn't present yet when PSF tries to find StartingScriptWrapper.ps1
When I specify a working directory, PSF looks for StartingScriptWrapper.ps1 in that working directory.
I would like it to ALSO check the package root if the script does not exist in the working directory.
Why?
Because my working directory is a drivemapping, which is mapped by the startup script, and thus isn't present yet when PSF tries to find StartingScriptWrapper.ps1