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