i need to start a program from a ps script that contains the hashsign (#) insilde the program parameters.
can someone help me find the way to do this ?
$command = ‘c:\somecommand.exe -msg:text1 -number:#456852,4578684’
$result= invoke-expression $command
i believe that powershell see the # as comment and not reading anything after it