Tool: Visual Studio, Visual Studio Code, PSScriptPad, PowerShell Module
Version:
I have a ps1 file that references external sql scripts.
It loads the sql scripts using the Get-Content cmdlet.
The sql scripts are in the same folder as the ps1.
When I package, the exe does not include the sql scripts or any other files in the folder that is referenced in the ps1 script.