In PS2EXE not recognizing imported library

%3CLINGO-SUB%20id%3D%22lingo-sub-1615188%22%20slang%3D%22en-US%22%3EIn%20PS2EXE%20not%20recognizing%20imported%20library%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1615188%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20created%20an%20exe%20from%20powershell.%20In%20powershell%20I'm%20using%20an%20imported%20module.%20But%20when%20I'm%20using%20the%20EXE%20in%20another%20system%20it%20doesn't%20recognizes%20the%20imported%20module.%20I%20brings%20me%20to%20conclusion%20that%20module%20doesn't%20get%20included%20with%20the%20package%20in%20ps2exe.%20Can%20anyone%20clarify%20is%20my%20assumption%20wrong%20or%20am%20I%20missing%20something%20while%20using%20ps2exe%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1615188%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

I have created an exe from powershell. In powershell I'm using an imported module. But when I'm using the EXE in another system it doesn't recognizes the imported module. I brings me to conclusion that module doesn't get included with the package in ps2exe. Can anyone clarify is my assumption wrong or am I missing something while using ps2exe?

0 Replies