I have a working, simple batch file cmd:
D:\Software\MySoftware.exe --process MyConfig.tuc
When I try to replicate in Powershell using either Invoke-Expression or the call operator '&', the code executes but the log indicates it has not picked up the switch: --process MyConfig.tuc
Invoke-Expression "D:\Software\MySoftware.exe --process MyConfig.tuc"
Or
& D:\Software\MySoftware.exe --process MyConfig.tuc
Edit: I've discovered that if you pass the full path of the .tuc file, the command is successful.
Invoke-Expression "D:\Software\MySoftware.exe --process D:\Software\MyConfig.tuc"