Broken -Command quotes caused ParserError on remote hosts; run deploy script through base64-encoded PowerShell.