Updated check-drive-space.ps1

This commit is contained in:
Markus Fleschutz 2021-02-26 13:53:37 +01:00
parent a6e05aa167
commit 57bde59bce

View File

@ -6,7 +6,7 @@
.NOTES Author: Markus Fleschutz / License: CC0
#>
param($Drive = "", $WarningLevel = 50) #limit in gb
param($Drive = "", [int]$WarningLevel = 50) # warning level in GB
if ($Drive -eq "" ) {
$Drive = read-host "Enter drive to check"