Dumb question #2,

I've search for how to kill process in the forums and tried them in my scripts.
They don't work for what ever reason or I don't have WMI on my remote machines.

I need to be able to kill a process on a remote, and return an error code of success/fail.

Then, after a timed delay, I need to restart that process on the remote returning an error code of success/fail.

I've looked at so many posts and trying examples I'm turning into a pile of mush.

I appreciate any help.
_________________________
Thanks, Smudley