Problems with anything but the most simple parameters used with invoke-powershell

Can anyone help me understand why invoke-powershell works with these settings (there are no PowerShellVariables defined):

But does not work with (Again, no PowerShellVariables are defined):

I get this error with the second scenario:
image