A simple toolset to package scripts and their dependencies into a single, self-contained file.
Install-Module Psmd.Bootstrap -Scope CurrentUserNew-PsmdBootstrapScript -Path . -OutPath C:\tempTakes all items in the current folder, wraps them into a bootstrap script and writes that single file to C:\temp\bootstrap.ps1.
The folder must contain a run.ps1 file that executes everything else.