I want to list a process tree in a file, as in the parent-child tree in a file using command line. Like, I want to have exact output as pslist -t, but without pslist.
pslist can't be used because of a few constraints. How can i have this process tree listed using wmic/tasklist command? If there is any other command, please do let me know.
Thanks