psfalcon icon indicating copy to clipboard operation
psfalcon copied to clipboard

[ BUG ] `Invoke-FalconDeploy` doesn't execute scripts specified in the `File` parameter

Open bk-cs opened this issue 9 months ago • 2 comments

Describe the bug When using File with a PowerShell script (for Windows) or ZSH script (for Mac), the script is not started.

To Reproduce Invoke-FalconDeploy -File .\my.ps1 -HostId <id>

Expected behavior Script should be executed.

Environment (please complete the following information):

  • OS: Windows 10
  • PowerShell: 5.1
  • PSFalcon: 2.2.8

Additional context If you put the script in an archive and use Archive and Run instead, it works as expected.

bk-cs avatar Jan 06 '25 23:01 bk-cs