mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-01-23 14:18:38 +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
|
.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 "" ) {
|
if ($Drive -eq "" ) {
|
||||||
$Drive = read-host "Enter drive to check"
|
$Drive = read-host "Enter drive to check"
|
||||||
|
Loading…
Reference in New Issue
Block a user