The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object. scoop

JavaScript
set system env var 'COMSPEC' to 'C:\WINDOWS\SYSTEM32\cmd.exe'
Source

Also in JavaScript: