diff --git a/Documentation/changelog.md b/Documentation/changelog.md index f9c601f..4422dfc 100644 --- a/Documentation/changelog.md +++ b/Documentation/changelog.md @@ -1,5 +1,9 @@ # Changelog.md - pcHealth +## 08-08-2022 + +Script has gotten some small adjustments and some of the colours have been changed. + ## 05-08-2022 Function has been tweaked, can be implemented in the main code now. diff --git a/Documentation/releases.md b/Documentation/releases.md index b24b11a..0fae785 100644 --- a/Documentation/releases.md +++ b/Documentation/releases.md @@ -6,7 +6,7 @@ For now only the version names will be displayed, in the future there might be e # Current Version(s) Full Release - v1.5.6 (Stable) -Beta Release - v1.5.5-beta +Beta Release - v1.5.7-beta Alpha Release - v0.1.1-alpha (PowerShell) ## Older Releases @@ -29,6 +29,7 @@ Here you can see a overview of the older version. ### Beta Release(s) +- Beta Release - v1.5.7-beta - Beta Release - v1.5.5-beta - Beta Release - v1.5.3-beta - Beta Release - v1.5.2-beta diff --git a/Scripts/CMD/pcHealth.bat b/Scripts/CMD/pcHealth.bat index 29db960..fd4998f 100644 --- a/Scripts/CMD/pcHealth.bat +++ b/Scripts/CMD/pcHealth.bat @@ -29,20 +29,20 @@ if '%errorlevel%' NEQ '0' ( :-------------------------------------- :: MainCode @echo off -title pcHealth - Check your PC's Health! - version 1.5.6 +title pcHealth - Check your PC's Health! - version 1.5.7-beta cd / -color A +color D cls :MENU cls -color A +color D echo. echo Thanks for downloading and using pcHealth! echo Please be sure that you are running this Batch file in Administrator mode. echo. echo Made by REALSDEALS - Licensed under GNU-3 (You are free to use, but not to change or to remove this line.) -echo You are now using version 1.5.6 (Stable) +echo You are now using version 1.5.7 (Beta) echo. echo %DATE%, %TIME% echo. @@ -62,7 +62,7 @@ IF %A%==4 GOTO CLOSE :TOOLS cls -color B +color 9 echo. echo ........................................................... echo Enter number 1 to gather generic information about the system. @@ -112,7 +112,7 @@ IF %B%==20 GOTO CLOSE :PROGRAMS cls -color 3 +color B echo. echo ........................................................... echo Enter number 1 to get hardware info. @@ -138,7 +138,7 @@ IF %AB%==8 GOTO CLOSE :SYSUPDATE cls -color C +color A winget upgrade --all pause echo. @@ -149,7 +149,7 @@ IF %LL%==3 GOTO CLOSE :SYSINFO cls -color C +color A systeminfo pause echo. @@ -160,7 +160,7 @@ IF %C%==3 GOTO CLOSE :SCAN cls -color C +color A sfc /scannow pause echo. @@ -172,7 +172,7 @@ IF %D%==4 GOTO CLOSE :CPUANDGPUINFO cls -color C +color A echo. echo Your CPU information: echo. @@ -190,7 +190,7 @@ IF %E%==3 GOTO CLOSE :DISM cls -color C +color A DISM /online /cleanup-image /checkhealth DISM /online /cleanup-image /scanhealth pause @@ -203,7 +203,7 @@ IF %F%==4 GOTO CLOSE :DISMRESTORE cls -color C +color A DISM /online /cleanup-image /restorehealth pause echo. @@ -214,7 +214,7 @@ IF %G%==3 GOTO CLOSE :SCSM cls -color C +color A sfc /scannow pause echo. @@ -227,7 +227,7 @@ IF %H%==5 GOTO CLOSE :SCSMOPENLOG cls -color C +color A start %windir%\explorer.exe "C:\Windows\Logs\CBS\CBS.log" pause echo. @@ -239,7 +239,7 @@ IF %I%==4 GOTO CLOSE :CONTINUE cls -color C +color A DISM /online /cleanup-image /checkhealth DISM /online /cleanup-image /scanhealth pause @@ -253,7 +253,7 @@ IF %J%==3 GOTO CLOSE :BATTERY cls -color C +color A powercfg /batteryreport pause echo. @@ -265,7 +265,7 @@ IF %K%==4 GOTO CLOSE :UPDATE cls -color C +color A control update pause echo. @@ -276,7 +276,7 @@ IF %L%==3 GOTO CLOSE :SHORTPING cls -color C +color A ping 8.8.8.8 pause echo. @@ -288,7 +288,7 @@ IF %M%==4 GOTO CLOSE :CONTINUESPING cls -color C +color A ping 8.8.8.8 -t -l 256 pause echo. @@ -299,20 +299,21 @@ IF %N%==2 GOTO CLOSE :AUDIORE cls -color C +color A if "%1"=="am_admin" (powershell start -verb runas '%0' am_admin) net stop audiosrv net stop AudioEndPointBuilder net start AudioEndPointBuilder net start audiosrv -pause echo. -SET /P P=Sadly you aren't able to return to the 'main' menu. Please restart the script. Enter 1 to close. Enter: -IF %AO%==1 GOTO CLOSE +echo Your audio drivers have been reset, hope it solved your audio problem! +echo. +pause +GOTO TOOLS :BATOPEN cls -color C +color A start %windir%\explorer.exe "C:\battery-report.html" pause echo. @@ -323,7 +324,7 @@ IF %O%==3 GOTO CLOSE :OPENCBSLOG cls -color C +color A start %windir%\explorer.exe "C:\Windows\Logs\CBS\CBS.log" pause echo. @@ -334,7 +335,7 @@ IF %P%==3 GOTO CLOSE :NINITE cls -color C +color A start "" https://ninite.com/7zip-chrome-edge-vlc/ninite.exe pause echo. @@ -345,12 +346,12 @@ IF %Q%==3 GOTO CLOSE :LICENSE cls -color C +color A echo. echo "Your systems license key:" wmic path SoftwareLicensingService get OA3xOriginalProductKey pause -color B +color E echo. echo If it didn't showed a key, it is possible that this PC is using a 'illegal' key, or a key that was used for a previous installation of Windows 7/8 - then upgraded to 10/11. echo. @@ -363,11 +364,11 @@ IF %R%==2 GOTO CLOSE :BIOSPW cls -color C +color E echo. echo The BIOS Password Recovery tool is a website that can be used to gather/generate a recovery code for the BIOS. echo. -echo If you don't know how to use this function/website than, +echo If you don't know how to use this function/website, then echo I would suggest that you enter '2' on the next line to learn more. echo. echo The credits for this function and repository goes to the owner: @bacher09 @@ -381,7 +382,7 @@ IF %SK%==5 GOTO CLOSE :RESHUT cls -color C +color A echo. SET /P S=If you want to log off from your PC/Laptop enter number 1, to restart enter number 2, to shutdown enter number 3 and to return to the previous sub-menu enter number 4 or to exit the script... enter number 5. Enter: IF %S%==1 GOTO LOGOFF1 @@ -392,7 +393,7 @@ IF %S%==5 GOTO CLOSE :LOGOFF1 cls -color C +color A echo. SET /P T=Are you sure that you want to log off your PC? Enter number 1, enter number 2 to return to the previous sub-menu, enter number 3 to return to the main-menu or enter number 4 to exit the script. Enter: IF %T%==1 GOTO LOGOFFCONFIRM1 @@ -402,13 +403,13 @@ IF %T%==4 GOTO CLOSE :LOGOFFCONFIRM1 cls -color C +color A shutdown /l EXIT /B :RESTART2 cls -color C +color A echo. SET /P U=Are you sure that you want to restart your PC? Enter number 1, to do so. Enter number 2 to return to the previous sub-menu, enter number 3 to return to the main-menu or enter number 4 to exit the script. Enter: IF %U%==1 GOTO RESTARTCONFIRM2 @@ -418,13 +419,13 @@ IF %U%==4 GOTO CLOSE :RESTARTCONFIRM2 cls -color C +color A shutdown /r EXIT /B :SHUTDOWN3 cls -color C +color A echo. SET /P V=Are you sure that you want to shutdown your PC? Enter number 1, to continue. Enter number 2 to return to the previous sub-menu, enter number 3 to return to the main-menu or enter number 4 to exit the script. Enter: IF %V%==1 GOTO SHUTDOWNCONFIRM3 @@ -434,13 +435,13 @@ IF %V%==4 GOTO CLOSE :SHUTDOWNCONFIRM3 cls -color C +color A shutdown /s EXIT /B :PCHEALTHGETVER cls -color C +color A echo. echo Are you sure that you want to download the newest version of pcHealth? echo. @@ -450,7 +451,7 @@ IF %AC%==2 GOTO MENU :PCHEALTHGETVERDOWNLOADLINK cls -color C +color A echo. echo Your download will start now! echo. @@ -462,17 +463,17 @@ IF %AD%==2 GOTO CLOSE :HARDINFODOWN cls -color C +color A echo. echo Are you sure that you want to download the newest version of Hardware Info? echo. -SET /P AE=If yes, enter the number 1, if not enter number 2 to return to the menu. Enter: -IF %AE%==1 GOTO HARDINFODOWNLOADLINK +SET /P AE=If yes, enter the number 1, if not enter number 2 to return to the sub-menu. Enter: +IF %AE%==1 GOTO HARDINFODOWNLOADLINK IF %AE%==2 GOTO PROGRAMS :HARDINFODOWNLOADLINK cls -color c +color A echo. echo Your download will start now; if not click on 'installer' on the download page! echo. @@ -485,7 +486,7 @@ IF %AF%==3 GOTO CLOSE :ADWCLEANER cls -color C +color A echo. echo Are you sure that you want to download the latest version of ADW Cleaner? echo. @@ -495,7 +496,7 @@ IF %AG%==2 GOTO PROGRAMS :ADWCLEANERDOWNLOADLINK cls -color C +color A echo. echo Your download will start now! echo. @@ -508,7 +509,7 @@ IF %AH%==3 GOTO CLOSE :DISKINFODOWN cls -color C +color A echo. echo Are you sure that you want to download the latest version of Disk Info? echo. @@ -518,7 +519,7 @@ IF %AI%==2 GOTO PROGRAMS :DISKINFODOWNLOADLINK cls -color C +color A echo. echo Your download will start now! start "" https://osdn.net/projects/crystaldiskinfo/downloads/77538/CrystalDiskInfo8_17_4.zip/ @@ -530,7 +531,7 @@ IF %AJ%==3 GOTO CLOSE :DISKMARKDOWN cls -color C +color A echo. echo Are you sure that you want to download the latest version of Disk Mark? echo. @@ -540,7 +541,7 @@ IF %AK%==2 GOTO PROGRAMS :DISKMARKDOWNLOADLINK cls -color C +color A echo. echo Your download will start now! start "" https://osdn.net/projects/crystaldiskmark/downloads/77539/CrystalDiskMark8_0_4b.zip/ @@ -552,7 +553,7 @@ IF %AL%==3 GOTO CLOSE :PRIMEDOWN cls -color C +color A echo. echo Are you sure that you want to download the latest version of Prime95? Enter: echo. @@ -562,7 +563,7 @@ IF %AM%==2 GOTO PROGRAMS :PRIMEDOWNLOADLINK cls -color C +color A echo. echo Your download will start now! start "" https://www.guru3d.com/files-get/prime95-download,3.html