Skip to content

Instantly share code, notes, and snippets.

@diablowu
Created July 22, 2015 07:24
Show Gist options
  • Select an option

  • Save diablowu/0f32f3623f79fa2b4cbe to your computer and use it in GitHub Desktop.

Select an option

Save diablowu/0f32f3623f79fa2b4cbe to your computer and use it in GitHub Desktop.
scan.bat
wmic /node:%1 computersystem get model,name,username,domain /format:htable > c:\triage-%1.html
wmic /node:%1 startup list full /format:htable >> c:\triage-%1.html
wmic /node:%1 process get description,processid,parentprocessid,commandline /format:htable >> c:\triage-%1.html
wmic /node:%1 service get name,processid,startmode,state,status,pathname /format:htable >> c:\triage-%1.html
wmic /node:%1 job list full /format:htable >> c:\triage-%1.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment