Trying to run a script(that runs an .exe) that looks a bit like this : Invoke-Command -ComputerName $Server -ScriptBlock {$command}
I am trying to make it start from a specified path (right click an exe and click properties and see "Start in"). How do I change this argument in the script?
No idea how to do this. Sorry for poorly worded sentence, I'm not too sure on the terms to use.