This message was deleted.
# _general
s
This message was deleted.
m
I even tried it with select -expandproperty processID instead of the where
j
sorry, deleted my first attempt
how's this?
Stop-Process -Id ( (get-wmiobject win32_service | where { $_.name -eq "wsearch"}).processId)
👍 1
m
looks like it’s passing through the output of get-wmiobject instead of just the process id
oh this is the left to right thing in action right? I’m passing the wrong bit through?
doing it backwards
that’s it, thanks
j
NP 🙂