Defragment all drives
VBScript uses wmi queries to get a list of drives. Filters drives based on drivetype. Uses smartmontool to determine if any fixed drives are SSDs. Performs a defrag analysis on any non-SSDs and builds a batch script for any defrags that are needed. Upon completion the VBScript will trigger the batch script to start any defrags that were queued. Can report using “$degfrag$”, “$degfragOK$”, “$degfragError$”, “$degfragStarted$”. $defragOK$ indicates no defrags were needed.