Powershell seems to drop empty string arguments when passed to a command. I have this code
PS D:\\> $b.name = \"foo bar\" PS D:\\> ./echoargs $b.name A
This should also work:
./echoargs [String]::Empty