Worked through this error the other day. Received this error when trying to use the back-tick character for multi-line commands in PowerShell. The good news is that it’s easy to fix. My issue was that I had a space character after the back-tick that was apparently interfering with command execution. Simply remove this space and the code will execute as expected.
Until next time,
849 total views, 2 views today