PSFolderSize | get folder sizes and export information | Command Line Interface library

 by   gngrninja PowerShell Version: v1.7.1 License: MIT

kandi X-RAY | PSFolderSize Summary

kandi X-RAY | PSFolderSize Summary

PSFolderSize is a PowerShell library typically used in Utilities, Command Line Interface applications. PSFolderSize has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This module will allow you to get folder sizes and export information easily via PowerShell
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PSFolderSize has a low active ecosystem.
              It has 61 star(s) with 21 fork(s). There are 7 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 4 open issues and 11 have been closed. On average issues are closed in 33 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PSFolderSize is v1.7.1

            kandi-Quality Quality

              PSFolderSize has no bugs reported.

            kandi-Security Security

              PSFolderSize has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              PSFolderSize is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              PSFolderSize releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PSFolderSize
            Get all kandi verified functions for this library.

            PSFolderSize Key Features

            No Key Features are available at this moment for PSFolderSize.

            PSFolderSize Examples and Code Snippets

            PowerShell -> Get Folder Sizes,Getting Started
            PowerShelldot img1Lines of Code : 4dot img1License : Permissive (MIT)
            copy iconCopy
            Install-Module PSFolderSize
            
            Import-Module .\path\to\PSFolderSize.psd1
            
            Import-Module .\path\to\FolderModuleFilesAreIn
            
            Get-Help Get-FolderSize -Detailed 
              

            Community Discussions

            Trending Discussions on PSFolderSize

            QUESTION

            Generate a report of entire D: Drive using PowerShell
            Asked 2019-Oct-21 at 19:50

            I am new to PowerShell scripting. For one of my School project I need to generate a report of the entire D Drive. I need to list all the folders sorted according to the size

            Summary of the work I have done so far: I have installed a PowerShell module from this website https://www.gngrninja.com/script-ninja/2016/5/24/powershell-calculating-folder-sizes using Install-Module PSFolderSize

            After installing if I run the command Get-FolderSize I'm getting the FolderSize for the path I'm running from. The foldersize is not running for all the folders in the directory. I am facing difficulty traversing through all the folders.

            Expected Output:

            ...

            ANSWER

            Answered 2019-Oct-21 at 06:23

            I would use other tools (like TreeSize) for creating reports like this because of the speed and long filename problematics. However you could solve your task with the following powershell command without downloading an other Module. For each subfolder inside your D:\ you have to receive your required data. You have to calculate the size of each directory by looking for each file Get-ChildItem -Path $Folder.FullName -Recurse -Force and sum up the lenght of all files. Here you can use the Measure-Object -Property Length -Sum. Depending on the directory size this task will take some time. Take a look here if you struggle with long file name issues. After collection and adding all data to an output variable use Select-Object -Property 'FolderName', 'Size(Bytes)', 'Size(MB)', 'Size(GB)', 'FullPath', 'HostName' for sorting the header order. The command Sort-Object -Property 'Size(Bytes)', 'FolderName' will sort the output depending on the folder size and name. For a nice looking output use Format-Table.

            Source https://stackoverflow.com/questions/58478828

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PSFolderSize

            Install via the PowerShell Gallery:.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/gngrninja/PSFolderSize.git

          • CLI

            gh repo clone gngrninja/PSFolderSize

          • sshUrl

            git@github.com:gngrninja/PSFolderSize.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Command Line Interface Libraries

            ohmyzsh

            by ohmyzsh

            terminal

            by microsoft

            thefuck

            by nvbn

            fzf

            by junegunn

            hyper

            by vercel

            Try Top Libraries by gngrninja

            NinjaBotCore

            by gngrninjaC#

            PSDsHook

            by gngrninjaPowerShell

            csharpi

            by gngrninjaC#

            blog

            by gngrninjaPowerShell

            psNinjaDownloader

            by gngrninjaPowerShell