Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. echo off
  2. set variable="%TEMP%\wmicresults_%COMPUTERNAME%.txt"
  3. echo #### USER ACCOUNTS #### > %variable%
  4. wmic useraccount get username sid >> %variable%
  5. wmic rdaccount list brief >> %variable%
  6. echo #### LOCAL GROUPS #### >> %variable%
  7. wmic group get name, sid >> %variable%
  8. echo #### RUNNING PROCESSES #### >> %variable%
  9. wmic process get name, processid >> %variable%
  10. echo #### SERVICES #### >> %variable%
  11. wmic service get name, processid, startmode, state >> %variable%
  12. echo #### NETWORK #### >> %variable%
  13. wmic nicconfig list brief >> %variable%
  14. wmic nic get macaddress
  15. echo #### OTHER HOSTS #### >> %variable%
  16. wmic ntdomain list brief >> %variable%
  17. echo #### SYSTEM CONFIG #### >> %variable%
  18. wmic bios list brief >> %variable%
  19. wmic computersystem list brief >> %variable%
  20. wmic startup list brief >> %variable%
  21. echo #### DIRECTORY AND FILE #### >> %variable%
  22. wmic share list brief >> %variable%
  23. wmic datafile where hidden="True" get name >> %variable%
  24. echo off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement