Here are the examples:
$sourceFile = "C:\my path\my.exe"
Invoke-Command -computername $computer -scriptblock {
Param($FilePath)
Start-Process -FilePath $FilePath
} -ArgumentList $sourceFile
Or…
$sourceFile = "C:\my path\my.exe"
Invoke-Command -computername $computer -scriptblock {
Start-Process -FilePath $using:sourceFile
}
Keep in mind that path and exe will need to exist on the remote systems.