Starting Point First Machine

I am new to PenTesting and Hacking in general. I am struggling to get the powershell execution to work. I saved the reverse shell code in a .ps1 file but I keep getting a parser error and a string misses termination sysmbol error.
Hope you guys can help.

I’m currently getting a:
bash: syntax error near unexpected token `(’
after running the powershell command

I’m also getting that error BasedJab, have you figured it out?

@zillakami no I haven’t. I decided in the end to start with more simpler boxes such as Blue and Lame.