We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08c8d62 commit 33a42c2Copy full SHA for 33a42c2
Scripts/check-drives.ps1
@@ -38,7 +38,7 @@ try {
38
Write-Progress -completed "."
39
foreach($Drive in $Drives) {
40
$Details = (Get-PSDrive $Drive.Name)
41
- if ($IsLinx) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
+ if ($IsLinux) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
42
[int64]$Free = $Details.Free
43
[int64]$Used = $Details.Used
44
[int64]$Total = ($Used + $Free)
@@ -58,4 +58,4 @@ try {
58
} catch {
59
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
60
exit 1
61
-}
+}
0 commit comments