• Skip to primary navigation
  • Skip to main content
  • Skip to footer

JH Tech Services

A knowledgebase

  • Portfolio
  • Knowledgebase
  • About

Commandline to record Process names and network connections if no Powershell

December 10, 2012 by jer0dh

Still need to support Windows XP.  Found this resource regarding WMIC

Link

 

WMIC /OUTPUT:c:process.txt PROCESS get Caption,Commandline,Processid

This will list out the commandlines for the processid’s. tasklist would do this as well

Possible Use.

Use with netstat -NO >> c:netstat.txt to record net connections and see what processes are making them.

I’m sure Powershell would work so much better.

  • Knowledgebase
  • Uncategorized

Footer

  • Portfolio
  • Knowledgebase
  • About

© 2023