PowerShell: List Empty Files 🚀

By Xah Lee. Date: .

List Empty Files

function xah-list-empty-files {
    # .DESCRIPTION
    # List empty files, of current dir recursively.
    # .NOTES
    # Created: 2022-05-17
    # Version: 2022-05-17

    Get-ChildItem -Recurse -File | Where-Object { $_.length -eq 0 }
}

PowerShell, List Dirs and Files

List Dirs

List Files

Create, Copy, Delete, Dir

Path Tutorial