Last active
April 14, 2018 21:26
-
-
Save jtrent238/472f6e5a97873208ed7fce3196d0afb0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo Off | |
cls | |
if exist sysoutput.log ( | |
del sysoutput.log | |
) else ( | |
goto GetInfo | |
) | |
if exist sysoutput.txt ( | |
del sysoutput.txt | |
) else ( | |
goto GetInfo | |
) | |
:GetInfo | |
echo Getting System Information Please Wait... | |
echo ********************************************>>sysoutput.log | |
echo Computer Name= %COMPUTERNAME% | |
echo Computer Name= %COMPUTERNAME%>>outputdata\sysoutput.log | |
echo Username= %USERNAME% | |
echo Username= %USERNAME%>>sysoutput.log | |
::echo Password= %password% | |
::echo Password= %password%>>sysoutput.log | |
echo Password= [Censored] | |
echo Password= [Censored]>>sysoutput.log | |
echo User Profile= %userprofile% | |
echo User Profile= %userprofile%>>sysoutput.log | |
::echo ******************************************** | |
::echo Generating System Info Table.... | |
::systeminfo.exe /FO TABLE>>sysoutput.txt | |
::echo System Info Table Generated | |
echo ******************************************** | |
echo Generating System Info LIST... | |
%SystemRoot%\System32\systeminfo.exe /FO LIST>>sysoutput.txt | |
echo System Info LIST Generated | |
::echo ******************************************** | |
::echo Generating list of installed software... | |
::PsInfo /accepteula | |
::PsInfo -s>>sysoutput.txt | |
::echo List of installed software generated | |
::echo ******************************************** | |
::echo Generating System Volume Information... | |
::PsInfo -d>>sysoutput.txt | |
::echo System Volume Information generated | |
::echo ******************************************** | |
::echo Generating System Info CSV... | |
::systeminfo.exe /FO CSV>>sysoutput.txt | |
::echo Generated System Info CSV | |
::echo ******************************************** | |
::echo Generating system clock resolution Info... | |
::ClockRes /accepteula | |
::echo Clock Resolution: | |
::ClockRes | |
::echo Clock Resolution:>>sysoutput.txt | |
::ClockRes>>sysoutput.txt | |
::echo ******************************************** | |
echo Report Generated On %DATE% %TIME% | |
echo Report Generated On %DATE% %TIME%>>sysoutput.log | |
echo ********************************************>>sysoutput.log | |
start sysoutput.log | |
start sysoutput.txt | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment