Issue with InvokeQuery; Keyword not supported: filename (Parameter 'keyword')

Can you share how you defined it? I just tried this myself and it works fine.

Here’s my variables.ps1.

New-PSUVariable -Name "PGConnectionString" -Value "My Connection String"