Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal
- set outputfile=C:\Users\GR7NWD2\Downloads\CourseFiles\Activities\activity02-OUT.html
- WMIC os GET localdatetime>"%outputfile%"
- WMIC useraccount GET domain,name,description,status /format:htable>>"%outputfile%"
- WMIC process GET HandleCount,Name,Priority,ProcessId,ThreadCount,WorkingSetSize /format:htable>>"%outputfile%"
- WMIC service GET caption,creationclassname,description,displayname,pathname,processid,state /format:htable>>"%outputfile%"
- WMIC nicconfig GET caption,description,dhcpenabled,ipaddress /format:htable>>"%outputfile%"
- WMIC bios GET * /format:htable>>"%outputfile%"
- WMIC cpu GET * /format:htable>>"%outputfile%"
- WMIC memphysical GET * /format:htable>>"%outputfile%"
- WMIC diskdrive GET * /format:htable>>"%outputfile%"
- WMIC memorychip GET banklabel,caption,devicelocator,serialnumber /format:htable>>"%outputfile%"
- wmic path win32_physicalmedia GET serialnumber,tag /format:htable>>"%outputfile%"
- goto :eof
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement