Powershell 2.0 : issue import-Module in a background job
- by Sobled
I launch a script in backgroung using Start-Job command.
In this script, I load a module using Import-Module. The job stay blocked in the running state at the Import-Module step.
The same behaviour occurs when :
- dotsourcing a module
- loading the module via -InitializationScript Start-Job command.
Thanks in advance for your help