mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-03-31 03:06:23 +02:00
Fix typo
This commit is contained in:
parent
08c8d62f5a
commit
33a42c2547
@ -38,7 +38,7 @@ try {
|
|||||||
Write-Progress -completed "."
|
Write-Progress -completed "."
|
||||||
foreach($Drive in $Drives) {
|
foreach($Drive in $Drives) {
|
||||||
$Details = (Get-PSDrive $Drive.Name)
|
$Details = (Get-PSDrive $Drive.Name)
|
||||||
if ($IsLinx) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
|
if ($IsLinux) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
|
||||||
[int64]$Free = $Details.Free
|
[int64]$Free = $Details.Free
|
||||||
[int64]$Used = $Details.Used
|
[int64]$Used = $Details.Used
|
||||||
[int64]$Total = ($Used + $Free)
|
[int64]$Total = ($Used + $Free)
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user