Automation is at the forefront of technology, thus I've devised an easy PS script in order to make system audting seamless. My script checks disk space on each drive, ensures there's at least 10 GB of space on the C: drive. If not, it erases temporary files. Then, my script checks that the Windows Update service is active. If not, it tries to activate it. If the Windows Update Service can't activate, my script will run an SFC Scan (disk checking scan) and the DISM repair utility. Next, we check our internet connection by pinging Google's servers at "8.8.8.8". Based on several baseline factors, my script will determine whether your internet connection is healthy or needs evaluating. Lastly, my script audits the Event Viewer Appplication Log and prints any errors from the past hour. The use case for this simple project is general IT maintenance. Whether a Technician or Help Desk, time is a valuable asset and this script saves time that could be better spent putting out fires than undertaking routine and rather mundane tasks. Even users at home could benefit from running this script. Any further tweaks will be documented on Github and this page will be edited to reflect them.
View and Download my Script here on Github