Hi there,
I'm fairly new to powershell but have some behaviour which I cannot explain.
I start a process on a remote computer with the following command:
PS C:\Users\Myusername> Invoke-Command {Start-Process calc -passthru} -comp computer010
When the command is run I see the following output:
Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
------- ------ ----- ----- ----- ------ -- -----------
0 1 324 124 3 0,03 3564 calc
However when I do a ps calc -comp computer010 I get the following output:
Cannot find a process with the name "calc"
What am I doing wrong.. the process seems to start but I can't find it back. Also tried a lot of different ways to start the process, also WMI with the same results.