I have Powershell Scripts that i used module like Compress-Archive or Write-color, that are not existing in the other PC that i want to run it from.
is it possible to package this module as well in the process of convert to EXE?
thanks in advanced.
Yep. You’ll just need to make sure you have the Package Modules option enabled. You’ll also need to make sure to explicitly use Import-Module in your script for the module to be included in the package.
If I am importing multiple modules, am I am to exclude specified modules from being included in the EXE package?