In windows 10 cmd, I started a process C:\Windows\system32\svchost.exe -k RPCSS -p
successfully. How do I list the services it is currently managing?
I've looked at tasklist
, however, that requires the image name, and I am unsure how to identify which svchost
it is, in process explorer.
You can try with wmic in cmd to get the commandline of the process :
wmic process where "name like 'svchost.exe' And CommandLine!=Null" get commandline /Value