The ampersand (&) character is not allowed.
brambeekman opened this issue · 1 comments
brambeekman commented
IEX : At line:1 char:16
- (echo bff3dbcb & cd)
-
~
The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an ampersand in double
quotation marks ("&") to pass it as part of a string.
At line:1 char:256
- ... -ne 'None') {$r=I''E''X $c -ErrorAction Stop -ErrorVariable e;$r=Out- ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException
- FullyQualifiedErrorId : AmpersandNotAllowed,Microsoft.PowerShell.Commands.InvokeExpressionCommand
brambeekman commented
I made a pull request for this issue