mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-09 01:25:04 +01:00
Updated check-drive-space.ps1
This commit is contained in:
parent
a6e05aa167
commit
57bde59bce
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user