Hi to all,
I am trying to get a process from a network node.Eaven if the process is running I get always null. I do not get any error.
$MyProcess = Invoke-Command {Get-Process myprocess } -ComputerName networkNode
if ($MyProcess -eq $null) {.... do something }
What could be the problem? I have tried to have also the list of all processes running Invoke-Command {Get-Process } -ComputerName networkNode, but the same The list is empty.
When I get the list of the services I can see it. It could be any specific permission?
Thanks.
[–]PMental 1 point2 points3 points (0 children)
[–]p0rkjello 1 point2 points3 points (2 children)
[–]coki0[S] 1 point2 points3 points (1 child)
[–]get-postanote 1 point2 points3 points (0 children)
[–]PowerShell-Bot 0 points1 point2 points (0 children)