Powershell syntax error #3115
Labels
Bug
An error, flaw, misbehavior or failure in the Monkey or Monkey Island.
Complexity: Medium
Impact: Medium
Reported by user
Milestone
Describe the bug
The 'Run From Machine' presented powershell script is given as a single line which will cause syntax errors if copied from the box directly.
Using the Copy To Clipboard copies the script correctly.
This issue is only present for the script when copying directly from the script box and not from the copy-to-clipboard macro.
To Reproduce
Steps to reproduce the behavior:
Run From Machine
Copy script directly from text box
Paste into Powershell ISE
@" and "@ appear on the same line which will cause a syntax error
Expected behavior
Presented script should resemble correct syntax as it does when using copy-to-clipboard
Screenshots
Copy To Clipboard

Copy from Script Box

Machine version (please complete the following information):
Linux 2.0.0
The text was updated successfully, but these errors were encountered: