ok, I am going to post this, solution below:
https://stackoverflow.com/questions/12615665/in-windows-how-get-all-process-and-their-child-process-information-in-command-pr
wmic process get Caption,ParentProcessId,ProcessId
Given a parent PID you can list the immediate children with something like:
wmic process where (ParentProcessId=2480) get Caption,ProcessId
TEST: ok, so I ran a cmd, then explorer from it and notepad. i ran each of the above wmic statements from a cmd window. the second statement will show you the children of the parent and you could capture that and do what you like. In my case, the PID of cmd.exe was 4050 and his children where shown with their PIDs, notpad and explorer and WMIC.exe