redcanaryco/invoke-atomicredteam

pwsh error executing remote invoke-atomictest from linux to windows

Guillaume-Muller opened this issue · 2 comments

When I try to run a powershell test from Debian to Windows, I get the following error

Usage: pwsh[.exe]
(...)
The argument "&" is not recognized as the name of a script file...

It is working well when I run a "command-prompt" test

It seems that pwsh is expecting a file name instead of a command line. I tried "-c" before the powershell command but not working

Duplicate of #77 I guess?

This works for me from Ubuntu to Windows 10. I'll close this out for now but if you have the issue again you can reopen and include a screenshot of the specific test failing so I can check. thx

image