From d8a1cf49f7a17b2ffee1c579ed45ddf51451e09b Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Wed, 16 Jun 2021 20:15:50 -0400 Subject: [PATCH] typo --- disk_check.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk_check.ps1 b/disk_check.ps1 index 719faed..725b7c3 100644 --- a/disk_check.ps1 +++ b/disk_check.ps1 @@ -10,7 +10,7 @@ $logFile="C:\ACS\disk_check.log" $computerName='localhost' $rebootTime=Get-Date "1:00" $requireReboot=$false -$volumes=Get-Volumes -CimSession $cimSession +$volumes=Get-Volume Function Write-Log{ Param ([string]$logstring)