This blog has moved to http://ThePowerShellGuy.com
Greetings /\/\o\/\/
as GPS does not have a - computer parameter, you can not use it on a remote computer.
so when asked in the NG, I came to this first (using WMI).
$RemoteProcess = get-wmiObject -computer Computername win32_process
but then I did think about the ".net"-way and came up with this :
[System.Diagnostics.Process]::GetProcesses("Computer")
this is also more like get-Process does, I don't know why they did not add the switch ?
lookt trival to me.
gr /\/\o\/\/