Windows shells, both PowerShell and cmd.exe, have different quoting rules to conventional Unix shells.
PowerShell also steals the name curl and remaps it to an internal command with very different options.
In order to follow this tutorial, you need to be using a Unix shell such as bash, or you need to rewrite many of the commands to cope with Windows’ details.
You could, for example, install Ubuntu in Windows Subsystem for Linux, or install Cygwin.