You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am building my project on linux environment and trying to send files through winrm from linux machine to windows.
Output log was this
=============================
The argument '& '/tmp/jenkins9004652567961170467.ps1'' is not recognized as the name of a script file. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
problem was in this "& '"and "'" symbols from
return new String[]{"powershell", "-NonInteractive", "& '" + script.getRemote() + "'"};
could you help me with my problem
Thenk you
The text was updated successfully, but these errors were encountered:
Thank you for WinRM plugin it was awesome.
Could you help me.
I am building my project on linux environment and trying to send files through winrm from linux machine to windows.
Output log was this
=============================
The argument '& '/tmp/jenkins9004652567961170467.ps1'' is not recognized as the name of a script file. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Usage: pwsh[.exe] [[-File] [args]]
[-Command { - | [-args ]
| [] } ]
[-ConfigurationName ] [-EncodedCommand ]
[-ExecutionPolicy ] [-InputFormat {Text | XML}]
[-Interactive] [-NoExit] [-NoLogo] [-NonInteractive] [-NoProfile]
[-OutputFormat {Text | XML}] [-Version] [-WindowStyle <style>]
[-WorkingDirectory ]
=============================
problem was in this "& '"and "'" symbols from
return new String[]{"powershell", "-NonInteractive", "& '" + script.getRemote() + "'"};
could you help me with my problem
Thenk you
The text was updated successfully, but these errors were encountered: