banyula
Results
2
comments of
banyula
> > > Fyi I've had success with this using PSframework. There are runspaxe functions to allow working with an object in a thread safe manner. Putting note here in...
$PSScriptRoot is working now that I updated the Tools. See below screenshot. Same script, executed as PS1 and then executed as EXE. $PSCommandPath is null, as well as $MyInvocation.MyCommand.Path 