Hi,
If I am trying:
Get-Process -c $comp -name chro* | Stop-Process
I have the following error:
“feature is not supported in remote machine”
If I use the command Get-Service with pipeline for services it’s working. Last week I was able to stop a process with this command, but now I have this error for all the computers.
I tried also with Get-WmiObject -Class Win32_Process:
(Gwmi Win32_Process -c $comp | ? {$_.ProcessName -like “chr”}).Terminate()
but it’s not working, and I don’t have errors.
I cannot use Invoke-Command because PSremoting is disabled.