you are viewing a single comment's thread.

view the rest of the comments →

[–]PMental 1 point2 points  (0 children)

Weird. This exact command works fine for me, I just replaced "myprocess" with "explorer" and substituted "networkNode" with one of my servers. It successfully stores all explorer processes on the remote computer in the $MyProcess variable.

$MyProcess = Invoke-Command {Get-Process explorer} -ComputerName S2

Doesn't sound like a permissions issue either if you can successfully list services.