[Could not find any relevant nor working answer, I checked the parameters, they are legit]
I try to run an executable with its respective parameters, but with powershell
here is the line:
Invoke-Command -FilePath "$execPath\xxxxxxxxxxxxxx.exe" -ArgumentList '--param1','param2'
and here is the error
Invoke-Command : Parameter set cannot be resolved using the specified named parameters.
At xxxxxxxx.ps1:18 char:5
+ Invoke-Command -FilePath "$execPath\xxxxxxxxxxxxxx.exe" -Argument ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-Command], ParameterBindingException
+ FullyQualifiedErrorId : AmbiguousParameterSet,Microsoft.PowerShell.Commands.InvokeCommandCommand
thanks for enlighting me on this one