Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set outputfile=\\servername\audit\%computername%.txt
- date /t > %outputfile%
- echo %computername% >> %outputfile%
- systeminfo >> %outputfile%
- net localgroup administrators >> %outputfile%
- net user >> %outputfile%
- net share >> %outputfile%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement