These instructions are intended to be used with the cmd prompt.
If you want to use PowerShell you need to to invoke the setup file ending in .ps1 (which is the extension for PowerShell scripts).