From 69f27a670826fb9dbaaa62e64c9bea2d96da039a Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Wed, 16 Jun 2021 20:49:27 -0400 Subject: [PATCH] fixes --- disk_check.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk_check.ps1 b/disk_check.ps1 index 6e075c7..50a48a1 100644 --- a/disk_check.ps1 +++ b/disk_check.ps1 @@ -7,7 +7,7 @@ # $logFile="C:\ACS\disk_check.txt" -$computerName='localhost' +$computerName=$env:ComputerName $rebootTime=Get-Date "1:00" $requireReboot=$false $volumes=Get-Volume