modified: RozmiarBloku/RozamiarBloku.ps1
This commit is contained in:
parent
fc348cdb4f
commit
249417a2db
@ -327,10 +327,11 @@ Write-Host " KB."
|
|||||||
Write-host "Najmniejsza wartość to: " -NoNewline
|
Write-host "Najmniejsza wartość to: " -NoNewline
|
||||||
Write-host "$minValue" -ForegroundColor Green -NoNewline
|
Write-host "$minValue" -ForegroundColor Green -NoNewline
|
||||||
Write-Host " KB."
|
Write-Host " KB."
|
||||||
|
""
|
||||||
Write-Host "Wartości najbliższe dla mediany to: "
|
Write-Host "Wartości najbliższe dla mediany to: "
|
||||||
$tmp | Where-Object "Rozmiar bloku" -ne "1 GB+" | Where-Object {[float]$_."Suma KB" -le $median} | Sort-Object "Suma KB" -Descending | Select-Object -First 1
|
$tmp | Where-Object "Rozmiar bloku" -ne "1 GB+" | Where-Object {[float]$_."Suma KB" -le $median} | Sort-Object "Suma KB" -Descending | Select-Object -First 1
|
||||||
$tmp | Where-Object "Rozmiar bloku" -ne "1 GB+" | Where-Object {[float]$_."Suma KB" -ge $median} | Sort-Object "Suma KB" | Select-Object -First 1
|
$tmp | Where-Object "Rozmiar bloku" -ne "1 GB+" | Where-Object {[float]$_."Suma KB" -ge $median} | Sort-Object "Suma KB" | Select-Object -First 1
|
||||||
|
""
|
||||||
|
Start-Sleep 1
|
||||||
$tmp | Export-Csv -Path "$($env:userprofile)\wielkosc_bloku_sumaKB.csv" -NoTypeInformation -Force
|
$tmp | Export-Csv -Path "$($env:userprofile)\wielkosc_bloku_sumaKB.csv" -NoTypeInformation -Force
|
||||||
Write-Host "Plik wielkosc_bloku_sumaKB.csv zapisano w w lokalizacji $($env:userprofile)"
|
Write-Host "Plik wielkosc_bloku_sumaKB.csv zapisano w w lokalizacji $($env:userprofile)"
|
Loading…
x
Reference in New Issue
Block a user