> On Sep 17, 2024, at 12:25 PM, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
>
> On 9/17/24 09:21, Andy Hartman wrote:
>> The command work outside of powershell yes
>
> Then you are going to need to use whatever debugging tools PowerShell has available to step through the script to
figureout where the problem is.
>
>
Visual Studio can run/debug PS 1 files. I am not at my desk but have done ps1 oneliner queries against mssql
Suggest echoing ALL vars used in psql command
>
>