trying to eliminate errors
This commit is contained in:
parent
d33d58b569
commit
217bec9d9f
@ -25,7 +25,7 @@ Function Write-Log{
|
||||
Write-Output "Checking disks for $($computerName)"
|
||||
|
||||
foreach ($i in $volumes) {
|
||||
if ($i.DriveLetter -eq "") {
|
||||
if ($i.FileSystemLabel -eq "") {
|
||||
Write-Output ""
|
||||
} else {
|
||||
$result=Repair-Volume -DriveLetter $i.DriveLetter -Scan
|
||||
|
Loading…
Reference in New Issue
Block a user