Can't Get PSExec to work with Powershell
Start-Process -Filepath "$PSExec" -ArgumentList "\\$computer -u $user -p $pass $command"
does exactly what I need it to do.
Start-Process -Filepath "$PSExec" -ArgumentList "\\$computer -u $user -p $pass $command"
does exactly what I need it to do.