psfalcon
psfalcon copied to clipboard
[ BUG ] `Invoke-FalconDeploy` doesn't execute scripts specified in the `File` parameter
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.