79142791

Date: 2024-10-30 21:09:40
Score: 5
Natty: 4.5
Report link

Trying to use this method to pull a couple of pieces of info & write it to an external file.

My command line now is

SYSTEMINFO /S MyComputerName /FO CSV /NH >> sysinfo.csv

let's say to start, I'd like OS name I tried this but not quite working...

SYSTEMINFO /S MyComputerName /FO CSV /NH | findstr "OS\ Name" | findstr /v BIOS >> sysinfo.csv

seems to still be pulling all system info. Any suggestions / corrections? thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2): Any suggestions
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dave