From d33d58b5699ab7fb50889cad5ddb1f93050ecd42 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Fri, 18 Jun 2021 20:58:18 -0400 Subject: [PATCH] oops --- disk_check.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk_check.ps1 b/disk_check.ps1 index 6497200..b904b93 100644 --- a/disk_check.ps1 +++ b/disk_check.ps1 @@ -24,7 +24,7 @@ Function Write-Log{ Write-Output "Checking disks for $($computerName)" -foreach ($i in $volumes.DriveLetter) { +foreach ($i in $volumes) { if ($i.DriveLetter -eq "") { Write-Output "" } else {