diff --git a/disk_check.ps1 b/disk_check.ps1 index f2faeef..1914ef2 100644 --- a/disk_check.ps1 +++ b/disk_check.ps1 @@ -1,5 +1,6 @@ # DiskCheck PS script # Checking a target computer for hard drive failures +# Only works for Windows 7+ right now, plan to working for different operating systems # # Written by Wyatt J. Miller # Licensed by Mozilla Public License v2 @@ -90,5 +91,5 @@ if ($requireReboot -eq $true) { $result = Repair-Volume CimSession $cimSession -FileSystemLabel $volume.FileSystemLabel -Scan #Report Un-Repairable Disks - Write-Log $now +','+ $result + ',' + $targetComputer, +',' + 'Unable to repair' + Write-Log "$($now) $($result) $($targetComputer): Unable to repair" }