Chapter4/4.3_BasicScripting/DirectorySize.ps1

#!/usr/bin/env pwsh

function Where-DirectorySize {
    param(
        [int]$DirectorySize
    )
    process {
        if ($_ -gt $DirectorySize) {
            Write-Output $_
        }
    }
}